HOW TO ADD ANNOTATION TO SIMUINK MODEL FROM MATLAB USING COMMANDS.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Siva Prasad
le 22 Jan 2016
Réponse apportée : Ilham Hardy
le 22 Jan 2016
We tried following command to add annotation but it's not working, it's giving warning like "new annotation "this is annotation" can not be added". add_block('built-in/Note','this is annotation','position',[200 150]); Please give the solution...
0 commentaires
Réponse acceptée
Ilham Hardy
le 22 Jan 2016
Hello,
You need to put the location of the notation as well in the second argument.
So,
add_block('built-in/Note',[gcs '/this is annotation'],'position',[200 150]);
instead of,
add_block('built-in/Note','this is annotation','position',[200 150]);
The command gcs returns your model name.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Event Functions 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!