tic
sim('MultiLoop_mode3', [0 50])
toc

% tic
% set_simpause_time(50)
% start_simulation
% status = get_simulation_status()
% while status == "running"
%     status = get_simulation_status()
% end
% toc