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???
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Simulink Functions en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!