I have been doing this school project of Field-Oriented Control of PMSM using Simulink but got stuck on how to add position loop to the model and obtain the following results shown in the photo attached, any tips on how to do that would be much appreciated.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.