please can you explain and help me find out how to fix this error???

2 views (last 30 days)
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

Accepted Answer

Amardeep
Amardeep on 26 Oct 2011
Problem was solved by separating out the matrices/structures and single expressions into two separate busses. Mixed dimensionality seemed to be confusing the inputs.

More Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!