I am currently working on the modelling of BLDC motor in simulink .i am having a problem of forming a trapezoidal waveform of emf in simulink .i implement the emf table (variation of emf with rotor position) using embedded matlab function but i am not getting right results..
if there is other technique of doing it please share it.