Step IV (In MATLAB)

 

Co-simulation

Run the Simulink model in MATLAB. MATLAB automatically executes RecurDyn program.

 

Simulation parameters

These parameters are in the subsystem of the RecurDyn Plant Block.

Parameters

Reserved Variables in M file

RecurDyn_model_name

RecurDyn_model

Output File Name

Output_File

RecurDyn_install_directory

RecurDyn

Matlab version

Matlab_version

Sampling period

RecurDyn_controltimestep

RecurDyn_step

The default value is 100

Waiting time

The default value is 1000

Static analysis

Whether include a static analysis or not

RecurDyn_show

Whether show RecurDyn window or not

RecurDyn_animation

Whether show an animation during simulation or not

Create output Folder

Whether create output folders or not

 

Note

Only one RecurDyn Plant Block should be used in the Simulink model.

Multitasking is not supported.

The RecurDyn model should be free of errors

If MATLAB does not respond for the long time, interrupts the MATLAB program using the Windows Task Manager and then fix the errors in the RecurDyn model

The independent subsystem plant model created by RecurDyn is not supported for sole co-simulation, but plant input and outputs can be defined in this subspace.