Problem was solved by separating out the matrices/structures and single expressions into two separate busses. Mixed dimensionality seemed to be confusing the inputs.
please can you explain and help me find out how to fix this error???
3 views (last 30 days)
Show older comments
Error using Function (line xxx):
Expression '[inputs...]' for block '<unspecified_block> returns an array of objects.
Error using Function (line xxx):
Error evaluating element '1' in list of external inputs specified in Configuration Parameters dialog. External inputs may be specified as either (a) a list of matrices and structures or (b) a single MATLAB expressionor function.
My first input is a structure of doubles which I thought would work fine. Do I have to input them all as single values?
Regards
Amardeep
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Simulink Functions 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!