Structure from workspace to stateflow

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)

Hi,
Please refer to this similar thread.
Thanks

1 Comment

Hello Muthukumar,
I try with your solution. It's better!
Thanks !

Sign in to comment.

Categories

Products

Release

R2021b

Asked:

on 31 May 2022

Commented:

on 26 Jul 2022

Community Treasure Hunt

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

Start Hunting!