Bonjour, je souhaite modéliser un piston et j'ai une erreur. Merci

2 views (last 30 days)
Message d'erreur au lancement de la simulation
  • ['piston']: Prismatic Joint 'piston/Prismatic Joint' has a rigid connection between its frame ports and physical signal inputs or outputs. This configuration is invalid. Resolve this issue in order to simulate the model.

Answers (1)

Yifeng Tang
Yifeng Tang on 12 Feb 2025
In your model, the B & F ports of the prismatic joint is connected to the B & F port of a rigid transform block. This will fix the relative position of the two frams of the prismatic joint, so it CANNOT move at all. This is in conflict with your attempt to send in a sine wave as position input.
My guess is that you are using the rigid transform to set an initial position of the joint. If this is the case, you should use the "Target State" of the joint instead. See picture below.

Products


Release

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!