フィルターのクリア

Simulink string input implementation

2 ビュー (過去 30 日間)
NIKHIL
NIKHIL 2020 年 12 月 25 日
コメント済み: Walter Roberson 2020 年 12 月 29 日
hello team,
When i am using string in the if loop in simulink i am having issue.
Edit :
For every TR case, i want output A = "National" or "State" instead of A = 11.
But it is not showing error when A = 11 replaced by A = "National".
How to resolve it.
In case if possible, what data type to be used in Model explorer for this input ?
Thank you
P.S : i am new to simulink.
  9 件のコメント
NIKHIL
NIKHIL 2020 年 12 月 29 日
I am getting error while using string in loop.
When i am assigning A = "National" or any string, it is giving below error.
I want to replace A = 11, by A = "National" but failing to simulate.
Walter Roberson
Walter Roberson 2020 年 12 月 29 日
https://www.mathworks.com/help/stateflow/ug/string-data-in-charts.html

サインインしてコメントする。

回答 (0 件)

カテゴリ

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