I downloaded an example model from FileExchange: <https://www.mathworks.com/matlabcentral/fileexchange/27970-sensorless-model-of-permanent-magnet-synchronous-motor>.
I tried to simulate this model in MATLAB/Simulink R2011b.
However, I got the following error:
"For S-function 'sfun_spssw_contc', the number of defined parameters, 10, does not match the number of parameters on the dialog of 'sensorless_MRAS/powergui/EquivalentModel1/State-Space', 9. These two values must be identical."
How do I fix this?
Best Answer