vssSetSimParZcrossThreshold
Set the simulation zero-crossing threshold.
Syntax
vssSetSimParZcrossThreshold(sparams,thres)
Inputs
- sparams
- Simulation parameters handle
- thres
- Zero-crossing threshold
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);
vssSetSimParZcrossThreshold(sparams,0.1);