【问题标题】:How to pause my first MATLAB GUI while the second one is in front如何在第二个在前面时暂停我的第一个 MATLAB GUI
【发布时间】:2019-06-20 11:53:41
【问题描述】:

我想找到一个解决方案来暂停我在 MATLAB 中使用 App Designer 创建的 GUI。

我的意思与uigetfile() 完全一样,当您运行它时,在关闭uigetfile() 窗口之前,您无法访问主GUI 窗口。

我需要一种方法来在后台暂停我的第一个 GUI,而我的第二个 GUI 在前面。

【问题讨论】:

    标签: matlab user-interface matlab-app-designer


    【解决方案1】:

    您应该将第二个图形窗口的WindowStyle 属性设置为'modal'。见the documentation for this property

    【讨论】:

      猜你喜欢
      • 2020-03-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-09-30
      • 2021-02-19
      • 1970-01-01
      • 2018-03-17
      • 2015-12-23
      相关资源
      最近更新 更多