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);前面为对话框中显示的内容,后面是对话框名称。
