how to change a simulink block diagram to GUI?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Muhammad Azfar Abdullah Pani
le 10 Nov 2017
Commenté : Birdman
le 10 Nov 2017
i want to change this simulink model directly to GUI, where i can play with the PID, Step and Control signal input and to see the result of scope.
2 commentaires
Réponse acceptée
Birdman
le 10 Nov 2017
I gathered all the blocks within a subsystem and created a mask from it. If you double click the subsystem, you will see the parameters tunable when the simulation is running. When you make a change during simulation, click Apply button. To open the scope, click Open Scope button. Hope this is what you want.
2 commentaires
Birdman
le 10 Nov 2017
To code scope, write
open_system('your model name/Scope');
To code step
step(sys);
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Programmatic Model Editing 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!