Plot on separate thread in App Designer

4 次查看(过去 30 天)
Hi All,
I'm developing an application using AppDesigner. My app has to perform real-time data acquisition and processing tasks. The problem I'm facing is the following: every time the acquisition of a data block has finished, I have to perform data processing because I have to see in real time the change of the parameters I'm measuring. Clearly, executing data processing and plotting right after every acquisition, makes the whole process a lot slower. I've mesured each plot on the same axis takes about 10 ms.
Thus, my question is: is there any way to move data processing and plotting to a separate thread, so that the measurement can run continuously and "as fast as possible"? I would like to implement something like Labview queues running in parallel. Is it possible?
Thank you for your help!

回答(1 个)

Alexander Kramlich
Alexander Kramlich 2021-5-19
I would also like to do something similar. Is there a way to start a second thread or to start another app in a different thread?

类别

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

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by