vssSetSimParTimeScale
Set the simulation time scale.
Syntax
vssSetSimParTimeScale(sparams,n)
Inputs
- sparams
- Simulation parameters handle
- n
- Simulation time scale. 0 means that the real time is ignored and the simulation runs as fast as possible, a different value corresponds the number of seconds correspondent to one unit of the simulation time
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);
vssSetSimParTimeScale(sparams,0);