Undefined function 'getNumInputs' for input arguments of type 'struct'

Hello, I was working with Simulink to build a battery electric vehicle & i m getting this error when I run. I am not sure what 'getNumInputs' mean. Someone please help me.

2 个评论

Can you share your model and the exact error message that you are receiving?
I am getting the same error: Undefined function 'getNumInputs' for input arguments of type 'struct'
and: Undefined function 'getRawData' for input arguments of type 'struct'
I found out these came from copy and pasting code and something did not paste right

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Transportation Engineering 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by