vssSetSimParMaxStepSize

Set the simulation maximum step size.

Syntax

vssSetSimParMaxStepSize(sparams,tstep)

Inputs

sparams
Simulation parameters handle
Type: sparam
Dimension: -
tstep
Maximum step size
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);
vssSetSimParMaxStepSize(sparams,0.01);