多用于GUI界面设计时,将结果输出保存于excel文件,并通过pushbutton控制,打开文件。
直接打开文件,不读取文件内容。
方法1:采用winopen()函数
% 相应pushbutton的回调函数
global filename
winopen(filename);
方法2:采用system()函数
system('result.xlsx');
参考链接:https://www.ilovematlab.cn/thread-207782-1-1.html
多用于GUI界面设计时,将结果输出保存于excel文件,并通过pushbutton控制,打开文件。
直接打开文件,不读取文件内容。
方法1:采用winopen()函数
% 相应pushbutton的回调函数
global filename
winopen(filename);
方法2:采用system()函数
system('result.xlsx');
参考链接:https://www.ilovematlab.cn/thread-207782-1-1.html