Can't set data type to string in a Stateflow chart
1 次查看(过去 30 天)
显示 更早的评论
Hello, I am working on a Stateflow project and I want to use a string datatype on a variable. I saw that the chart had to have its action language to C but even with this I can't set the datatype of my variable to string.
11 个评论
Jonas
2021-4-27
I do not know how Simulink determines to show the 'string' option in the list or not. I would suggest creating a Service Ticket for this.
回答(1 个)
Ntiana Sakioti
2021-7-1
Hi Olivier,
If I understand correctly you are trying to create a "string" variable in a Stateflow chart in R2016b. Please note that Stateflow did not support string datatypes until R2018bd. If you are able to I would suggest updating to a newer release in order to utilize this functionality.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!