xxsimSetInitialValues

PURPOSE ^

xxsimSetInitialValues - sets specified initial values.

SYNOPSIS ^

function retval = xxsimSetInitialValues(names, values)

DESCRIPTION ^

 xxsimSetInitialValues - sets specified initial values.

 Syntax: 
   retval = xxsimSetInitialValues(names, values)

 Inputs:
   names  = names of the initial values to be set.
   values = the new values of the initial values.
 
 Outputs: 
   retval = returns true if the values are set properly, false otherwise.

 Examples:
    retval = xxsimSetInitialValues('Position.z',5.0);
        Set the initial value for Position.z to 5.0.
    retval = xxsimSetInitialValues({'Position.x',Position.z},{3.0,5.0});
        Set the initial value for Position.x to 3.0 and for Position.z to 5.0.

 See also: xxsimSetVariables, xxsimGetInitialValues

 Author: Controllab Products B.V.
 email: info@controllab.nl
 Website: http://www.controllab.nl
 September 2013

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function retval = xxsimSetInitialValues(names, values)
0002 % xxsimSetInitialValues - sets specified initial values.
0003 %
0004 % Syntax:
0005 %   retval = xxsimSetInitialValues(names, values)
0006 %
0007 % Inputs:
0008 %   names  = names of the initial values to be set.
0009 %   values = the new values of the initial values.
0010 %
0011 % Outputs:
0012 %   retval = returns true if the values are set properly, false otherwise.
0013 %
0014 % Examples:
0015 %    retval = xxsimSetInitialValues('Position.z',5.0);
0016 %        Set the initial value for Position.z to 5.0.
0017 %    retval = xxsimSetInitialValues({'Position.x',Position.z},{3.0,5.0});
0018 %        Set the initial value for Position.x to 3.0 and for Position.z to 5.0.
0019 %
0020 % See also: xxsimSetVariables, xxsimGetInitialValues
0021 %
0022 % Author: Controllab Products B.V.
0023 % email: info@controllab.nl
0024 % Website: http://www.controllab.nl
0025 % September 2013
0026 
0027 %------------- BEGIN CODE --------------
0028   retval = xxsimSetVariables(names, values);
0029 
0030 end
0031 %------------- END OF CODE --------------

Generated on Sun 10-Dec-2017 19:24:51