不幸的是,Matlab仍然没有一个好的方法来处理这个问题。也许你可以使用工具栏使用预定义的选项。看到应用程序。
函数ImageClicked(应用程序、事件)
开关event.Source
情况下app.Image0;app.GridLayout.ColumnWidth (1:2) = {“1 x”,“1 x”};
情况下app.Image1;app.GridLayout.ColumnWidth (1:2) = {“1 x”,0};
情况下app.Image2;app.GridLayout.ColumnWidth (1:2) = {0,“1 x”};
结束
结束