App designer, run sub app in parallel

12 次查看(过去 30 天)
Neurolab
Neurolab 2024-3-29
回答: Eric Delgado 2024-4-1,4:45
I am designing an app in App Designer. This app (app A) calls a subapp (app B) which prepares some data files and then essentially runs an .exe program using the system command.
This .exe can take some time to complete, and for different reasons app B needs to wait for the system command to complete to finish up some data files.
So while app B is doing this I would like the user to be able to continue using app A, essentially running the two apps in parallel. However, when app B is waiting for the system command to complete app A just doesn't update, as if all the callbacks in app A are blocked temporarily. Is there a way to fix this?

回答(1 个)

Eric Delgado
Eric Delgado 2024-4-1,4:45
I think that the answer that you are looking for is here: https://www.mathworks.com/help/matlab/ref/parallel.pool.dataqueue.html

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by