To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
In the Level-2 S function block there is a parameter called "Parameters". Can this name be changed to others, say, "Speed"?
To create your own parameter prompts, you need to Mask the S-function block and simply enter the names of the dialog parameter variables on the underlying "Parameters" field of the S-function.
With my configuration the string "variable1" is showed in the block dialogue. When I input the number 10 in the parameter field of the block dialogue (under the string "variable1") I expect a variable x = 10 will be showed in the workspace but it doesn't.