vssSetSimParRtol
Set the simulation relative tolerance.
Syntax
vssSetSimParRtol(sparams,rtol)
Inputs
- sparams
- Simulation parameters handle
- rtol
- Relative tolerance value
Example
Create evaluator, retrieve the respective simulation parameters handle and set the desired simulation parameter value.
modelpath = 'C:/Users/ActivateModel.scm'
ff = vssCreateEvaluator(modelpath);
mdl = ff();
sparams = vssGetModelSimParams(mdl);
vssSetSimParRtol(sparams,0.005);