simscapeにお​いて2物体間の距離を​任意に変更できますか​?

simscapeで2物体の相対距離に応じて力を計算するようなプログラムを作成しています.
2物体間の相対距離を重力加速度によって変化していくだけでなく,ある特定の大きさの力が生じたら2物体間の相対距離が一定になる,そこから特定の大きさの力を超えると相対距離が変化するといったように任意に変更できるようにしたいのですが,simscapeでは相対距離を任意に変えることが可能でしょうか?

 Akzeptierte Antwort

Toshinobu Shintai
Toshinobu Shintai am 16 Mai 2024

1 Stimme

R2024aにて、ジョイントのロック機能が追加されました。
これを用いると、例えばPrismatic Jointで接続された二つの剛体同士の距離を固定させることも可能です。
以下の投稿を見ていただくと、イメージがしやすいかもしれません。

1 Kommentar

松
am 30 Mai 2024
ありがとうございます.参考にさせていただきます.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte

Version

R2021a

Tags

Gefragt:

松
am 16 Mai 2024

Kommentiert:

松
am 30 Mai 2024

Community Treasure Hunt

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

Start Hunting!