Contenuto principale

Reference Frame

R2026b

Non-inertial reference frame

  • Reference Frame block

Libraries:
Simscape / Multibody / Frames and Transforms

Description

This block represents a reference frame with respect to which you can define other frames. The reference frame is generally non-inertial. It can accelerate with respect to the World frame. This block is optional in a model.

Examples

Ports

Frame

expand all

Local reference frame represented by the block. Connect to a frame line or frame port to define the relative position and orientation of the reference frame.

Programmatic Use: Add Block

To add the block programmatically, use the add_block function with one of these library block paths as the source.

"sm_lib/Frames and Transforms/Reference Frame"

Example: add_block("sm_lib/Frames and Transforms/Reference Frame","myModel/myBlock",MakeNameUnique="on")

Extended Capabilities

expand all

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2012a