an error in real-time code generation on s-function model
Show older comments
i've implemented the model on s-function to download the controller on ti dsp(f2812),but when i want to build the project(i press incremental build on simulink window) i'm facing with an error: "*_Invalid parameters for S-function 'mpcdsp/MPCController/S-Function'. For Real-Time Workshop code generation, S-function parameters must be one or two dimensional nonsparse numeric or character arrays unless the S-function uses a TLC file and has an mdlRTW function_*BOLD TEXT*."
2 Comments
Kaustubha Govind
on 25 Aug 2011
As the error message says "For Real-Time Workshop code generation, S-function parameters must be one or two dimensional nonsparse numeric or character arrays" - do you have one or more parameters that violate this requirement?
sherim
on 28 Aug 2011
Answers (1)
Florin
on 24 Oct 2011
0 votes
you found a solution to this problem?
Categories
Find more on Simulink Real-Time 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!