Simulink is a powerful tool for controller simulation. Here are some baisc skills and documents for it.
Simulink will generate simulation data but it lacks the tools to analyze them, so basically we need to export the data to workspace, using block out to workspace
https://blog.csdn.net/mingjiangguoyaoqin/article/details/102864241