MATLAB: Do I get this error? Undefined function ‘abs’ for input arguments of type ‘Simulink.Parameter’.

errorsimpowersystemssimulinksimulink.parameter

I get Undefined function 'abs' for input arguments of type 'Simulink.Parameter' error and I do not know why because I do not use any abs functions. I'm useing simpowersystem modeling and i need to have blocks parameters set as ImportedExtrn storage class.

Best Answer

Are you using the parameter as a mask value? There may be something below the mask that is attempting to use the parameter that cannot handle Simulink.Parameter parameters.