Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/matlab/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
User interface 等待GUI完成-MATLAB_User Interface_Matlab - Fatal编程技术网

User interface 等待GUI完成-MATLAB

User interface 等待GUI完成-MATLAB,user-interface,matlab,User Interface,Matlab,我正在运行一个程序,最后我运行了一个GUI,将响应写入Excel文件。在程序的继续部分,我尝试读取这些文件。在我看来,MATLAB试图在GUI创建文件之前读取 如何告诉程序等待GUI完成(按下按钮) 比如: >>Run_Gui() >>WaitSomeh ow() >>xlsread(...) 如果要等待地物闭合,请尝试使用 f = figure(); uiwait(f); 正如@stefangretar正确建议的那样,您可以使用 uiresume(f)

我正在运行一个程序,最后我运行了一个GUI,将响应写入Excel文件。在程序的继续部分,我尝试读取这些文件。在我看来,MATLAB试图在GUI创建文件之前读取

如何告诉程序等待GUI完成(按下按钮)

比如:

>>Run_Gui()
>>WaitSomeh ow()
>>xlsread(...)

如果要等待地物闭合,请尝试使用

f = figure();
uiwait(f);
正如@stefangretar正确建议的那样,您可以使用

uiresume(f)
如果您不想破坏窗口。

然后继续