There is a matlab command, depfun, for this purpose. It only works on a
function by function basis, however. Quoting from Matlb's help:
"The depfun function lists all of the functions and scripts, as well as
built-in functions,
that a specified M-file needs to operate. This is useful for finding all of
the M-files that
you need to compile for a MATLAB runtime application.
list = depfun('file_name') creates a cell array of strings containing the
paths of
all the files that file_name.m uses. This includes the second-level files
that are called
directly by file_name.m, as well as the third-level files that are called by
the
second-level files, and so on."
All the best,
Roberto
Roberto Viviani
Dept. Psychiatry III, University of Ulm, Germany
----- Original Message -----
From: "John Ashburner" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Wednesday, February 01, 2006 1:14 PM
Subject: Re: Extract image and convert it into matlab
> > is there currently a summary of objects and functions used in SPM5 or
> > is this only available by looking at the SPM code?
>
> I'm afraid it's only available by looking at the code. The Help button
may be
> useful in figuring out what functions call each other though. Also, the
> 'lookfor' command in Matlab may also help you.
>
> Best regards,
> -John
>
|