I am using the MATLAB Compiler to generate a COM object that can be used from Microsoft Excel. I am following the documentation for the same:
web([docroot,'/toolbox/matlabxl/starting4.html#5624'])
which states that the command for creating an Excel-compatible COM object should be :
mcc -B cexcel:mycomponent,myclass,1.0 foo.m bar.m
But when I use this from the MATLAB command prompt I receive the following error:
??? mcc -B cexcel:mycomponent,myclass,1.0 foo.m bar.m | Error: Unexpected MATLAB expression.
Best Answer