vssSetSimParNZcross
Set the simulation number of zero crossings.
Syntax
vssSetSimParNZcross(sparams,n)
Inputs
- sparams
- Simulation parameters handle
- n
- Number of zero crossings
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);
vssSetSimParNZcross(sparams,2);