Structure from workspace to stateflow

1 view (last 30 days)
guy edey
guy edey on 31 May 2022
Commented: guy edey on 26 Jul 2022
I use a workspace struct 'xml' as parameter in stateflow.
This structure have missing fieldes. This generate simulink error...
The value at 'xml.Message(1).LENGTH' is unsupported for code generation.
How can I include the missing fields or cancel this error?

Answers (1)

Muthukumar Ganesan
Muthukumar Ganesan on 25 Jul 2022
Hi,
Please refer to this similar thread.
Thanks
  1 Comment
guy edey
guy edey on 26 Jul 2022
Hello Muthukumar,
I try with your solution. It's better!
Thanks !

Sign in to comment.

Categories

Find more on Complex Logic in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!