Obtain PLECS parameter initial values from a .m file

PLECS doesn’t support complex numbers. What you can do is convert all complex values to their desired scalar representation (i.e. convert to real, imaginary, magnitude or angle). Then you can remove the complex number from the workspace by using the clear() function.