필터 지우기
필터 지우기

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

조회 수: 1 (최근 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 CenterFile Exchange에서 String에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by