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 Comments

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

Sign in to comment.

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Asked:

on 2 Aug 2020

Edited:

on 21 Nov 2020

Community Treasure Hunt

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

Start Hunting!