Matlab R2013a Invalid field name 'NumConStates'
I created a model in Matlab R2011a Simulink and it was working fine but now when i want to open it in Matlab R2013a Simulink I have this error.
Error in 'wahadlo/Subsystem/S-Function' while executing MATLAB S-function 'wahadlo_sfun', flag = 0 (initialize), at start of simulation.
Invalid field name 'NumConStates'.
I could't find any solution to this problem. Here's my Simulink Model