I am trying to find a way to use the output of a translational position block as a variable for my spring constant. Anything helps. Thank you!
Show older comments
I am trying to find a way to use the output of a translational position block as a variable for my spring constant. Anything helps. Thank you!
Answers (1)
Sanjana
on 31 Mar 2023
0 votes
Hi,
For using the output of a translational position block as a variable for Spring Constant, you can use “To Workspace” block to log the output into workspace, and then use the logged data, as variable for Spring Constant
Please refer to the below link, for further information,
Hope this helps!
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!