vssSetSimParZcrossTtol

Set the simulation zero-crossing time tolerance.

Syntax

vssSetSimParZcrossTtol(sparams,ztol)

Inputs

sparams
Simulation parameters handle
Type: sparam
Dimension: -
ztol
Zero-crossing time tolerance
Type: double
Dimension: scalar

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);