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

2 次查看(过去 30 天)
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

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by