I have an S-Function that accepts an empty string parameter. However, if I leave the "S-Function parameters" field blank (on the S-Function block parameter dialog box), Simulink returns the following error:
Invalid expression found in mask parameter. The expression is an empty string.
I am aware that I can avoid this error by entering an empty string (i.e., ''), but I prefer to leave this field blank when passing an empty string to the S-Function.
Best Answer