How to display strings on xpc target (Simulink 2014)?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Suneesh
2014-10-7
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 String 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!