vssGetSimParZeroCrossTtol

Get the simulation zero-crossing time tolerance.

Syntax

vssGetSimParZeroCrossTtol(sparams)

ztol = vssGetSimParZeroCrossTtol(sparams)

Inputs

sparams
Simulation parameters handle.
Type: sparam
Dimension: -

Outputs

ztol
Simulation zero-crossing time tolerance
Type: double
Dimension: scalar

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);
vssGetSimParZeroCrossTtol(sparams)
ans = -1