Wauzl
Wauzl

Reputation: 971

Dense output of SimMechanics?

I have set up a model using SimMechanics. It outputs data at the times where the solver steps to. Is there any possibility to have some kind of dense output such that it is possible to interpolate these data to get the solution at arbitrary points without losing the high order of the integrator? In Matlab this is easily possible using the function deval after the integration of one of the built-in ODE integrators. In SimMechanics I can select these integrators, too. Is there some kind of analouge way to deval?

Upvotes: 1

Views: 162

Answers (1)

am304
am304

Reputation: 13876

Yes, it's possible, although it's a Simulink functionality, not specific to SimMechanics. In the Configuration Parameters of the model, you can set the model to Produce Specified Output Only (see http://www.mathworks.co.uk/help/simulink/gui/data-import-export-pane.html#bq9_fhw-1), under Data Import/Export. This way, only the outputs you specify will be produced regardless of the time steps taken by the solver.

Upvotes: 2

Related Questions