vssGetSimParInitialTime
Get the simulation initial time.
Syntax
vssGetSimParInitialTime(sparams)
itime = vssGetSimParInitialTime(sparams)
Inputs
- sparams
- Simulation parameters handle.
Outputs
- itime
- Simulation initial time
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);
vssGetSimParInitialTime(sparams)
ans = 0