program spherical joint parameters in Simscape Multibody: PositionTa​rgetRotati​onArbitrar​yAxis

Trying to program a spherical joint programatically and having issues setting the arbitrary axis.
My code:
set_param(jointName, 'PositionTargetRotationArbitraryAxis',[0 0 1]);
My error:
Invalid setting in Spherical
Joint block (mask) 'Ball1' for parameter 'PositionTargetRotationArbitraryAxis'
Is there somewhere to find all the parameters for each joint and how to set the parameters programatically?

 採用された回答

Steve Miller
Steve Miller 2020 年 8 月 15 日
To get a list of all parameter names, you can select the block (click on it once) and enter
get_param(gcb,'ObjectParameters')

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSimscape Multibody についてさらに検索

製品

リリース

R2020a

質問済み:

2020 年 8 月 14 日

回答済み:

2020 年 8 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by