xxsimClose - close 20-sim (without saving changes to any opened models). Syntax: retval = xxsimClose() Inputs: takes no arguments. Outputs: retval = returns true upon success, false otherwise. Examples: retval = xxsimClose(); Close 20-sim without saving the model. Retval is true upon succesfully closing the model, false otherwise. See also: xxsimCloseModel Author: Controllab Products B.V. email: info@controllab.nl Website: http://www.controllab.nl November 2015
0001 function [retval] = xxsimClose() 0002 % xxsimClose - close 20-sim (without saving changes to any opened models). 0003 % 0004 % Syntax: 0005 % retval = xxsimClose() 0006 % 0007 % Inputs: 0008 % takes no arguments. 0009 % 0010 % Outputs: 0011 % retval = returns true upon success, false otherwise. 0012 % 0013 % Examples: 0014 % retval = xxsimClose(); 0015 % Close 20-sim without saving the model. 0016 % Retval is true upon succesfully closing the model, false otherwise. 0017 % 0018 % See also: xxsimCloseModel 0019 % 0020 % Author: Controllab Products B.V. 0021 % email: info@controllab.nl 0022 % Website: http://www.controllab.nl 0023 % November 2015 0024 0025 %------------- BEGIN CODE -------------- 0026 0027 if(nargin>0) 0028 error('Too many input arguments: xxsimClose does not expect any input arguments.'); 0029 end; 0030 0031 retval = false; 0032 0033 retval = xrlinvoke('xxsim.close'); 0034 end 0035 %------------- END OF CODE --------------