The error is below.
Unable to locate 'mexopts.bat', and therefore cannot determine which compiler to use for simulation builds.
Use 'mex -setup' to select a supported compiler.
Use 'mex -setup' to select a supported compiler.
Blog for students taking ECEN5807 Modeling and Control of Power Electronics, ECEE Department, University of Colorado at Boulder, Spring 2013