[英]how to make a new figure in matlab GUI
i hope you all can help me. 我希望大家能帮助我。
How to make new figure from push button or anything toolbox in gui matlab. 如何从按钮或GUI Matlab中的任何工具箱制作新的身材。 in my case, when i click/push button that will open new figure..
就我而言,当我单击/按下按钮时,将打开新图。
thanks in advance. 提前致谢。
All you need is to place the command 您只需要放置命令
newFigH = figure();
in the callback function of the event you want to act upon. 在您要操作的事件的回调函数中。 That is, if you want the figure to open when you push a button, put
figure()
in the push button callback function. 也就是说,如果您希望在按下按钮时打开
figure()
,则将figure()
放在按钮回调函数中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.