Why do I receive the warning "The "which" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode." when I try to compile XLSREAD from MATLAB?
When I tried to compile the following function:
function getin; [a b]=xlsread('test11.xls')return
using the command:
mcc -m -B sgl getin.m
it resulted in the following warning:
Warning: File: C:\MATLAB6p1\toolbox\matlab\iofun\xlsread.m Line: 68 Column: 16 The "which" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.
and the compiled getin.exe did not run. Is there a possibility to include functions such as XLSREAD into standalone applications?
Best Answer