Matlab中出错提醒对话框的展示
1、matlab中有许多对话框的设置,这里介绍错误对话框,命令为为errordlg。输入:h = errordlg出现如下对话框。

2、可以设置对话框的颜色和位置(大小):set(h,'color','r');set(h,'position',[311 200 400 200]);set(h,'Units','Points');

4、我们旅邯佤践进行一下其他设置:mode = struct('WindowStyle','nonmodal媪青怍牙','Interpreter','tex');h = errordlg('Try this equation instead: f(x) = x^2','Equation Error', mode);前面为对话框中显示的内容,后面是对话框名称。

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:34
阅读量:73
阅读量:88
阅读量:77
阅读量:88