I am trying to follow the example of packaging a simple function to use within an excel spreadsheet.
function y = mymagic(x) y = magic(x);
I go into the "MATLAB Compiler" select my file and click Package. I get the error seen below.
The log file is attached. I believe the error has something to do with line 198:
Creating library C:\Users\Magnet Mapper\Documents\MATLAB\mymagic\for_testing\mymagic_1_0.lib and object C:\Users\Magnet Mapper\Documents\MATLAB\mymagic\for_testing\mymagic_1_0.exp LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
Can anyone help me resolve this?
Thank you!
Best Answer