Clear Filters
Clear Filters

Variable cylindrical solid not varying length

2 views (last 30 days)
How do I control the length of a Variable Cylindrical Solid block as a simulation is running, using a knob or a matlab script? It seems to expand but I can't get it to contract.
Also, is it possible to attach references at the opposite of each end similar to a Cylindrical Solid block?

Answers (1)

Vimal Rathod
Vimal Rathod on 2 Jun 2021
You could use any way of inputing signals into the cylindrical solid block be it using MATLAB script, knob or using any type of signal source as an input and if the input length signal is decreasing the length of cylinder decreases, just make sure to check the property of length and also check if the input signal is decreasing or not.
Refer to the following link for more info on cylindrical solid block.


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!