I am trying to create a MEX-file.
I am trying to compile my code by issuing the following command at the MATLAB command prompt:
mex @myDirectory\myFile.c
When I issue this command, I receive the following error:
ERROR: ??? Index exceeds matrix dimensions. Error in ==> mex>get_mex_opts at 351 arg = varargin{count}; Error in ==> mex at 225 mexname = get_mex_opts(varargin{:});
Why am I receiving this error?
Best Answer