Dc motor is simulation is needed to design a real time machine. Here the DC motor is simulated for a separately excited machine.
The data for the machine input is take from Electrical Drives, G.K. Dubey.
Feel free in case of doubt...
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.