Beginner's Simulink problem:(adsbygoogle = window.adsbygoogle || []).push({});

I have made a Simulink model of a motor-reduction gear-conveyor belt system which outputs velocity (v) and acceleration (a) of the conveyor belt. The reduction gear ratio (i) is a value in a Constant block.

My next task is to make a simple optimization of the gear ratio for maximum acceleration using the Simulink model. The optimization task is supposed to be a .m-file so I was thinking of writing a script that runs the simulation with a set of different gear ratios. To do this I have to import a new value for the gear ratio into the model for each simulation. However I can't find out how to do this. Any help?

I tried to use google but I did not find any solution simple enough for me to understand...

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Simulink: read parameter from Matlab workspace

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

**Physics Forums | Science Articles, Homework Help, Discussion**