- Use name = gcb to get block names (select a block first)
- Use get_param(name,'DialogParameters') to get parameter names. The parameter names you're looking for should contain TorqueActuationMode and MotionActuationMode as part of the names (e.g., RzTorqueActuationMode)
- Use set_param(name,'RzTorqueActuationMode','ComputedTorque') or set_param(name,'RzTorqueActuationMode','InputTorque') to specify the torque mode.
- Use a similar command to specify the RzMotionActuationMode as ComputedMotion or InputMotion
Automaticly change of actuation of joints in Simscape multibody.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Felix Hund
el 26 de Abr. de 2022
Hello everybody,
I have exported a CAD model with several joints I'd like to actuate. Since there are a lot of, I'm searching for a way to to this automaticly/scriptbased. Simply I just don't want to change the actuation by click but by code.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/979375/image.png)
0 comentarios
Respuesta aceptada
J Chen
el 3 de Mayo de 2022
Editada: J Chen
el 3 de Mayo de 2022
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Brakes and Detents en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!