Plot on separate thread in App Designer

7 visualizaciones (últimos 30 días)
Jacopo Morosi
Jacopo Morosi el 22 de Oct. de 2019
Respondida: Alexander Kramlich el 19 de Mayo de 2021
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!

Respuestas (1)

Alexander Kramlich
Alexander Kramlich el 19 de Mayo de 2021
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?

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by