Borrar filtros
Borrar filtros

simmechanics joint initial condition tunable parameter

13 visualizaciones (últimos 30 días)
Guoping Zhao
Guoping Zhao el 7 de Mayo de 2018
Comentada: Barnaby Pine el 28 de Feb. de 2022
Hi,
Is it possible to configure initial conditions of joint block (e.g. initial position, velocity) as tunable parameters? I'm running the simulink model in Rapid mode. I need to configure the joint initial states as tunable parameters so that I don't have to rebuild the whole model every time I change the initial conditions.
Thanks.

Respuesta aceptada

Lucien Hollins
Lucien Hollins el 17 de Nov. de 2020
Hi,
You will need to make the run-time parameters option visible if you have never used them before. The option to switch individual parameters from compile-time to run-time is colocated with each parameter that is run-time enabled.
Note that run-time parameters are not exactly the same as tunable parameters. Some features may vary slightly from one release to another.
  1 comentario
Barnaby Pine
Barnaby Pine el 28 de Feb. de 2022
Thank you!
This answer has really helped me in my endeavours!
Took far too long for me to find this out!
Kind regards,
Barnaby Pine

Iniciar sesión para comentar.

Más respuestas (1)

Steve Miller
Steve Miller el 2 de Abr. de 2019
Yes, you can. The initial conditions can be configured to be run-time parameters so that you can modify them between simulation runs without compiling.
--Steve
  1 comentario
Guoping Zhao
Guoping Zhao el 2 de Abr. de 2019
Hi Steve,
Could you be more specific? I'm using Matlab 2018b. And I cannot find the way to configure the initial conditions of joint blocks to be run-time parameters.
Thanks.

Iniciar sesión para comentar.

Categorías

Más información sobre Simscape Multibody 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!

Translated by