I want to apply reinforcement learning to controlling a power system stabilizer, my model is a simulink file, but my RL code is m.file. How can i do my simulation? In Simulink only, or m.file only, or both together? And with which commands?
you can use matlab function. it is a block in simulink that enables you to write the code inside the simulink block you can download my paper where i use reinforcement learning for maximum power point tracking