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 Kommentare

Can you share your model and the exact error message that you are receiving?
Pamela Jackson
Pamela Jackson am 21 Nov. 2020
Bearbeitet: Pamela Jackson am 21 Nov. 2020
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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 2 Aug. 2020

Bearbeitet:

am 21 Nov. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by