exchange data between script and model
Afficher commentaires plus anciens
I am trying to send data from script to model and get the output data of the simulink model on the script to apply some calculations on them. I tried to use sim command, but it takes long time to run and cause out of memory to my script.
Is there any suggestions on other method that I can use?
5 commentaires
Pawel Ladosz
le 29 Sep 2016
Does your sim run in some sort of loop? (i.e. multiple times within single script)
Khaled Abojlala
le 29 Sep 2016
Pawel Ladosz
le 29 Sep 2016
Modifié(e) : Pawel Ladosz
le 29 Sep 2016
1. I assume sim runs much slower than it would if you just run simulink model on its own?
2. How big data you trying to save?
Khaled Abojlala
le 29 Sep 2016
Walter Roberson
le 29 Sep 2016
You can set_param() and then sim()
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Scopes and Data Logging dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!