필터 지우기
필터 지우기

Can't set data type to string in a Stateflow chart

조회 수: 4 (최근 30일)
Olivier NEYRET
Olivier NEYRET 2021년 4월 22일
답변: Ntiana Sakioti 2021년 7월 1일
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
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.
Ntiana Sakioti
Ntiana Sakioti 2021년 7월 1일
What version are you using?

댓글을 달려면 로그인하십시오.

답변 (1개)

Ntiana Sakioti
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.

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by