vssGetSimParRtol

Get the simulation relative tolerance.

Syntax

vssGetSimParRtol(sparams)

rtol = vssGetSimParRtol(sparams)

Inputs

sparams
Simulation parameters handle.
Type: sparam
Dimension: -

Outputs

rtol
Simulation relative tolerance
Type: double
Dimension: scalar

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);
vssGetSimParRtol(sparams)
ans = 0.0001