vssGetSimParTtol
Get the simulation time tolerance.
Syntax
vssGetSimParTtol(sparams)
ttol = vssGetSimParTtol(sparams)
Inputs
- sparams
- Simulation parameters handle.
Outputs
- ttol
- Simulation time tolerance
Example
Create evaluator, retrieve the respective simulation parameters handle and get the desired simulation parameter value.
modelpath = 'C:/Users/ActivateModel.scm'
ff = vssCreateEvaluator(modelpath);
mdl = ff();
sparams = vssGetModelSimParams(mdl);
vssGetSimParTtol(sparams)
ans = -1