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

조회 수: 2 (최근 30일)
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개)

카테고리

Help CenterFile Exchange에서 Applications에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by