How to run two functions in parallel?
59 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Harsha KVK
el 11 de Jul. de 2022
Respondida: Bharat Chandra Mukkavalli
el 11 de Jul. de 2022
I am trying to build an audioplayer application. Here I need two functions, counter and audiorecorder. Instead of executing them individually I am want them to execute simultaneously. How can I do that?
0 comentarios
Respuestas (1)
Bharat Chandra Mukkavalli
el 11 de Jul. de 2022
Hi,
You can use mutithreading to run multiple functions in parallel.
Refer to this link here on running MATLAB functions in a thread based environment: https://in.mathworks.com/help/matlab/matlab_prog/run-functions-on-threads.html#:~:text=Hundreds%20of%20functions%20in%20MATLAB,background%2C%20use%20parfeval%20and%20backgroundPool%20.
Hope this helps!
0 comentarios
Ver también
Categorías
Más información sobre Audio and Video Data en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!