Simulation of a switched reluctance motors using Matlab/M-file | IEEE Conference Publication | IEEE Xplore