xxsimStopSimulation - Stop the simulation. Syntax: result = xxsimStopSimulation() Inputs: takes no arguments. Outputs: result = boolean indicating the success. Examples: result = xxsimStopSimulation() - stops the simulation and returns. Author: Controllab Products B.V. email: info@controllab.nl Website: http://www.controllab.nl November 2015
0001 function [result] = xxsimStopSimulation() 0002 % xxsimStopSimulation - Stop the simulation. 0003 % 0004 % Syntax: 0005 % result = xxsimStopSimulation() 0006 % 0007 % Inputs: 0008 % takes no arguments. 0009 % 0010 % Outputs: 0011 % result = boolean indicating the success. 0012 % 0013 % Examples: 0014 % result = xxsimStopSimulation() 0015 % 0016 % - stops the simulation and returns. 0017 % 0018 % Author: Controllab Products B.V. 0019 % email: info@controllab.nl 0020 % Website: http://www.controllab.nl 0021 % November 2015 0022 0023 %------------- BEGIN CODE -------------- 0024 if(nargin>0) 0025 error('Too many input arguments: xxsimStopSimulation does not expect any input arguments.'); 0026 end; 0027 0028 % set the result variable 0029 result = xrlinvoke('xxsim.simulator.stop'); 0030 end 0031 %------------- END OF CODE --------------