vssGetSimParJacobianMethod

Get the simulation Jacobian method.

Syntax

vssGetSimParJacobianMethod(sparams)

n = vssGetSimParJacobianMethod(sparams)

Inputs

sparams
Simulation parameters handle.
Type: sparam
Dimension: -

Outputs

n
Simulation Jacobian method. Available options are 1 (analytical) and 2 (numerical).
Type: integer
Dimension: scalar

Example

Create evaluator, retrieve the respective simulation parameters handle and get the desired simulation parameter value. In this example, the Jacobian method is analytical.

modelpath = 'C:/Users/ActivateModel.scm' 
ff = vssCreateEvaluator(modelpath);
mdl = ff();
sparams = vssGetModelSimParams(mdl);
vssGetSimParJacobianMethod(sparams)
ans = 1