MATLAB Answers

0

simmechanics joint initial condition tunable parameter

Asked by Guoping Zhao on 7 May 2018
Latest activity Commented on by Guoping Zhao on 2 Apr 2019
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.

  0 Comments

Sign in to comment.

1 Answer

Answer by Steve Miller on 2 Apr 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 Comment

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.

Sign in to comment.