I want to run a simulink model using m.file using command se_param, but my simulink model is little slow and therefor I cant use the data created in simulink model in the m.file because m.file is very fast but simulink is slow, using command pause (0.2) in after of set_param command solved this problem but the simulation time is very high.