Simulink string input implementation
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
hello team,
When i am using string in the if loop in simulink i am having issue.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/470637/image.png)
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/470642/image.png)
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 Commenti
Walter Roberson
il 29 Dic 2020
https://www.mathworks.com/help/stateflow/ug/string-data-in-charts.html
Risposte (0)
Vedere anche
Categorie
Scopri di più su String in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!