vssSetSimParTtol
Set the simulation time tolerance.
Syntax
vssSetSimParTtol(sparams,ttol)
Inputs
- sparams
- Simulation parameters handle
- ttol
- Simulation time tolerance
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);
vssSetSimParTtol(sparams,0.1);