How to display strings on xpc target (Simulink 2014)?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How can I display a string e.g. 'no error' in a target scope or in the target log box at the bottem right?
0 commentaires
Réponses (1)
Suneesh
le 7 Oct 2014
Scopes do not support strings since scopes display Simulink signal values which are always numeric. PRINTFs in S-Functions appear in the log box. This is resource intensive (as is the case with writing to display in any situation) and should not be used too frequetly.
0 commentaires
Voir également
Catégories
En savoir plus sur String dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!