xxsimClearLastRun - Clears only the last run. Syntax: result = xxsimClearLastRun() Inputs: takes no arguments. Outputs: result = boolean indicating the success. Examples: result = xxsimClearLastRun() - clears the last run. Author: Controllab Products B.V. email: info@controllab.nl Website: http://www.controllab.nl November 2015
0001 function [result] = xxsimClearLastRun() 0002 % xxsimClearLastRun - Clears only the last run. 0003 % 0004 % Syntax: 0005 % result = xxsimClearLastRun() 0006 % 0007 % Inputs: 0008 % takes no arguments. 0009 % 0010 % Outputs: 0011 % result = boolean indicating the success. 0012 % 0013 % Examples: 0014 % result = xxsimClearLastRun() 0015 % 0016 % - clears the last run. 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 0025 if(nargin>0) 0026 error('Too many input arguments: xxsimClearLastRun does not expect any input arguments.'); 0027 end; 0028 0029 % just call the generic function 0030 result = xxsimClearRun(1); 0031 0032 end 0033 %------------- END OF CODE --------------