Generating S-Function gives ERROR with Variable Size Signal
1 view (last 30 days)
Show older comments
Agam Srivastava on 30 Sep 2021
I am trying to generate S-function for my model and it is failing with ERROR as Support for Variable Size Signal is Turned Off.
However, I dont see the option to enable that Option for generating S-function. I have already tried the following:
- Setting Model Referencing > Propagate sizes of Variable-size signal to During Execution.
- Selecting Variable Size Signals in Code Generation > Interface
I am not sure how I can enable Support for Variable Size signal for Generating S-function.
Attached is the screenshot of the Issue.
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!