vssGetSimParZcrossThreshold

Get the simulation zero-crossing threshold.

Syntax

vssGetSimParZcrossThreshold(sparams)

thres = vssGetSimParZcrossThreshold(sparams)

Inputs

sparams
Simulation parameters handle.
Type: sparam
Dimension: -

Outputs

thres
Simulation zero-crossing threshold
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);
vssGetSimParZcrossThreshold(sparams)
ans = -1