HOW TO SOLVE THIS ERROR:Undefined function 'getRawData' for input arguments of type 'struct'

59 views (last 30 days)
Undefined function 'getNumInputs' for input arguments of type 'struct'.
Component:Simulink | Category:Model error
Error due to multiple causes.
Caused by:
  • Undefined function 'getRawData' for input arguments of type 'struct'.
  • Undefined function 'getRawData' for input arguments of type 'struct'.
Component:Simulink | Category:Model error

Answers (1)

Deepak Meena
Deepak Meena on 27 Jan 2021
Hi Drishya,
It would help us to investigate further if you specify more details about how you are getting this error.
From my understanding , such errors come in SIMULINK models when we either have a algebric loop or we have copy pasted something incorrectly.
I would be looking forward to your reply with more information

Community Treasure Hunt

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

Start Hunting!

Translated by