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 次查看(过去 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
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!