Array variable as parameter value in simulink
Afficher commentaires plus anciens
Hi,
I have an 1-D array (ex: A) with a size exactly matching that of the total simulation steps. This array can be either stored in model or base workspace.
I need to set a block parameter to A(Index) with its index changing according to the simulation time.
How can I do this?
Thank you for your help.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Physical Units 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!