How can I freeze or stop interaction of the background MATLAB and SIMULINK windows until my dialog(progressbar) is open?

5 次查看(过去 30 天)
while my progressbar is running I want to disable or block interaction with the toolbar or whole background. How can I achieve it?
  3 个评论
Shivam
Shivam 2024-9-5
I am still not sure of the use-case of the this desired behaviour. Is it creating some hindrance in your workflow? Could you let me know the details?
Rik
Rik 2024-9-9
Comments posted as flags:
Flagged by Rushabh on 4 Sep 2024 at 10:06. While It is loading, I want to stop complete interaction with the background tab or toolbar. Is it possible?
Flagged by Rushabh on 5 Sep 2024 at 12:34. For example if something is loading, we should not be able to make any changes in background. But here, Since my progress bar is not completed. Still I am able to make changes in the background's SIMULINK window.

请先登录,再进行评论。

回答(1 个)

Taylor
Taylor 2024-9-6
You can use uiwait to block the execution of MATLAB and SIMULINK.

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

产品


版本

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by