Change variable value in the workspace using switch
Afficher commentaires plus anciens
How to change a variable value in the workspace using simulink's Toggle/Rotary Switch block?
Réponses (2)
Sulaymon Eshkabilov
le 27 Avr 2025
Déplacé(e) : Image Analyst
le 27 Avr 2025
0 votes
Why not to assign a variable name to a constant block, then initialize the value of the constant block from the command window or MATLAB script.
Walter Roberson
le 27 Avr 2025
0 votes
Send the output of the Switch block into a To Workspace block.
1 commentaire
Ari
le 28 Avr 2025
Catégories
En savoir plus sur Modeling 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!



