IO_select = 1; Choice_1=Simulink.Variant('IO_select==0'); Choice_2=Simulink.Variant('IO_select==1');