Please read the attached .m file for more details. If you like it and would like me to upload more EV3 Simulink and equivalent Python "projects", please let me know in comments. The idea of buying EV3 was born in 2018. My then 8-year-old daughter Julia came across http://mindcuber.com/ on YouTube, and she wanted it badly. And we got hooked :)
Bartlomiej Ufnalski (2020). LEGO Mindstorms EV3 GyroBoy using Simulink (https://www.mathworks.com/matlabcentral/fileexchange/71279-lego-mindstorms-ev3-gyroboy-using-simulink), MATLAB Central File Exchange. Retrieved .