simscapeのjointブロックの新機能でエラーが発生してしまう原因
Afficher commentaires plus anciens
R2024aで追加されたjointブロックに関する質問です.
Prismatic jointブロックの「Mode Configuration」をNormalにした場合は正常に動きますが,Provided by Inputにして実行した場合にエラーが出てきてしまいました.Solid1とSolid2の距離がある値以上近づいたらjointをロックするようなプログラムをMATLAB Functionを用いて作成し,MATLAB Functionから1または0の値をjointブロックに入力したところ次のようなエラーが出てしまいました.
エラー内容「The mode signal input to 'maxwell/Prismatic Joint' is invalid. It must be either +1, 0, or -1.」
今はMATLAB Function内のsをjointブロックに入力しているのですが,MATLAB Functionの値を用いてjointをロックすることは出来ないのでしょうか?

Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur アセンブリ dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!