when I define a variable to be used in Simulink in an m file (action1 and action2 are predefined)
% action1=1 %