program spherical joint parameters in Simscape Multibody: PositionTargetRotationArbitraryAxis
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Rachel Cahan
am 14 Aug. 2020
Beantwortet: Steve Miller
am 15 Aug. 2020
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?
0 Kommentare
Akzeptierte Antwort
Steve Miller
am 15 Aug. 2020
To get a list of all parameter names, you can select the block (click on it once) and enter
get_param(gcb,'ObjectParameters')
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Applications finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!