vssSetSimParZcrossTtol
Set the simulation zero-crossing time tolerance.
Syntax
vssSetSimParZcrossTtol(sparams,ztol)
Inputs
- sparams
- Simulation parameters handle
- ztol
- Zero-crossing 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);
vssSetSimParZcrossTtol(sparams,0.5);