File myFOC_13 is the simulink model.
There are two Motor Models, Topmost model is the created model and the model below is the Simscape model.
I have attached the simulink file (myFOC_13) and .m file for reference.
Figures Attached :
Iabc is shown, it is evident about the difference.
I appreciate a genuine help in figuring out the error.