Effacer les filtres
Effacer les filtres

What is the intended way to run multiple unrelated scripts simultaneously?

18 vues (au cours des 30 derniers jours)
Scott
Scott le 28 Juin 2021
Réponse apportée : Scott le 7 Juil 2021
I have several scripts running some basic data collection, from a variety of sources. They are all fully independant from each other, and none are particularly performance intensive.
It is currently operated by simply running multiple MATLAB instances.
I would like to unify them into one app designer program, so that each can be independantly stopped and started with a simple toggle for each data source.
What are my options to run these scripts together?
There are a few I can think of:
  • Combine all data collection scripts into one function allowing me to specifiy which data sources to collect from as a function input
  • Set up a parallel pool and run each script with a specific worker
  • Compile the individual scripts and call them from the app designer
What is the intended way to accomplish this?
Many thanks!

Réponse acceptée

Scott
Scott le 7 Juil 2021
The batch function seems to fulfill this purpose, although it's not as easy to interact with a script/function running in the background.

Plus de réponses (0)

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by