Initialisation of array or matrix in embedded matlab function block

1 vue (au cours des 30 derniers jours)
Pratap Bhanu Solanki
Pratap Bhanu Solanki le 26 Sep 2011
Hello all, I want to store the data of my simulation into a matrix so that I can later use it.All this i am doing in embedded matlab function block. Can any one tell me how to initialize the array or matrix in the embedded function which can be updated in each iteration of simulation. Any other solution to my problem will also be appreciated.
  1 commentaire
Fangjun Jiang
Fangjun Jiang le 26 Sep 2011
Any particular reason that you have to do it using embedded matlab function? To store data, it's easy to use To Workspace block or To File block.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by