How to display strings on xpc target (Simulink 2014)?

2 ビュー (過去 30 日間)
Kilian
Kilian 2014 年 10 月 7 日
回答済み: Suneesh 2014 年 10 月 7 日
How can I display a string e.g. 'no error' in a target scope or in the target log box at the bottem right?

回答 (1 件)

Suneesh
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.

カテゴリ

Help Center および File ExchangeString についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by