23.12.2012 Views

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

depfun<br />

2-432<br />

• prob_files, which indicates which files depfun was unable to parse, find, or<br />

access. Parsing problems can arise from <strong>MATLAB</strong> syntax errors. prob_files<br />

is a structure array whose fields are:<br />

- name, which gives the names of the files<br />

- listindex, which tells where the files appeared in list<br />

- errmsg, which describes the problems<br />

• prob_sym, which indicates which symbols depfun was unable to resolve as<br />

functions or variables. It is a structure array whose fields are:<br />

- fcn_id, which tells where the files appeared in list<br />

- name, which gives the names of the problematic symbols<br />

• eval_strings, which indicates usage of these evaluation functions: eval,<br />

evalc, evalin, feval. When preparing a runtime application, you should<br />

examine this output to determine whether an evaluation function invokes a<br />

function that does not appear in list. The output eval_strings is a<br />

structure array whose fields are:<br />

- fcn_name, which give the names of the files that use evaluation functions<br />

- lineno, which gives the line numbers in the files where the evaluation<br />

functions appear<br />

• called_from, a cell array of the same length as list. This cell array is<br />

arranged so that<br />

list(called_from{i})<br />

returns all functions in file_name that invoke the function list{i}.<br />

• java_classes, a cell array of Java class names that file_name and its<br />

subordinates use<br />

[...] = depfun('file_name1','file_name2',...) performs the same<br />

operation for multiple files. The dependent functions of all files are listed<br />

together in the output arrays.<br />

[...] = depfun('fig_file_name') looks for dependent functions among the<br />

callback strings of the GUI elements that are defined in the .fig or .mat file<br />

named fig_file_name.<br />

[...] = depfun(...,'-toponly') differs from the other syntaxes of depfun<br />

in that it examines only the files listed explicitly as input arguments. It does

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!