When I use the DEPFUN function in MATLAB 7.0.4 (R14SP2), I get an error when the function should return an empty cell. For example, if I type the following command:
list = depfun('lasterr', '-toponly');
I receive the following error:
Error Messages: ??? Index exceeds matrix dimensions. Error in ==> depfun>fix_output_data at 597 trace_list = [trace_list(1:narg_files); tmp]; % new, sorted list
Error in ==> depfun at 326 fix_output_data; % clean up the output data
Best Answer