First run the .m file to have the parameters in workspace and then run the simulink model to generate the plots...
Hi! I've found your simulation pretty useful. However I'm not sure of the variable that represents the pendulum's position. Is it theta or is it alpha?
Please define fre=0.1( or some number) depending upon the frequency of your Sine Wave input. I will modify the program as soon as I get some time. Thanks
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.