Thread Subject: Matlab Toolbox Dependencies

Subject: Matlab Toolbox Dependencies

From: Yoav Mor

Date: 20 Jun, 2007 11:54:54

Message: 1 of 4

Hi,

I'm trying to compile a list with all the toolboxes needed by my
matlab program. The command "depfun" seems to be unreliable. Is there
an easier way to compile such a list?

Thanks.
Y.

Subject: Matlab Toolbox Dependencies

From: Erik

Date: 20 Jun, 2007 13:41:57

Message: 2 of 4

Hi,
open the file in the MATLAB editor and go to Tools->Show
Dependency Report. For dependency report on all files in your current
directory you can run the dependency report from the Current
Directory browser.
HTH,
Erik

 Yoav Mor wrote:
>
>
> Hi,
>
> I'm trying to compile a list with all the toolboxes needed by my
> matlab program. The command "depfun" seems to be unreliable. Is
> there
> an easier way to compile such a list?
>
> Thanks.
> Y.

Subject: Matlab Toolbox Dependencies

From: sy

Date: 20 Jun, 2007 14:32:34

Message: 3 of 4

Erik wrote:
>
>
> Hi,
> open the file in the MATLAB editor and go to Tools->Show
> Dependency Report. For dependency report on all files in your
> current
> directory you can run the dependency report from the Current
> Directory browser.
> HTH,
> Erik
>
> Yoav Mor wrote:
>>
>>
>> Hi,
>>
>> I'm trying to compile a list with all the toolboxes needed by
my
>> matlab program. The command "depfun" seems to be unreliable. Is
>> there
>> an easier way to compile such a list?
>>
>> Thanks.
>> Y.
  

Alternatively, you can do the following:
restart Matlab
run your code
type "license inuse" (but with no quotes)
this will tell you what toolboxes were used while running your code.

SY

Subject: Matlab Toolbox Dependencies

From: Kelly

Date: 20 Jun, 2007 14:56:41

Message: 4 of 4

Yoav Mor wrote:
>
>
> Hi,
>
> I'm trying to compile a list with all the toolboxes needed by my
> matlab program. The command "depfun" seems to be unreliable. Is
> there
> an easier way to compile such a list?
>
> Thanks.
> Y.
  
You can use my depfuntoolbox function:

 <http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=14176&objectType=FILE>

It basically just parses the output of depfun, but it's an easy way
to see at a glance which toolboxes are really needed to run a
function, and also whether it uses any unofficial m or p files (e.g.
ones that you wrote, or ones from the File Exchange, etc).

Disclaimer: Yes, I've seen some crazy results from depfun in R2006b
beta for Intel Macs, and depfuntoolbox shows the same problem (since
it calls depfun). But I don't think any other operating systems have
this problem, so if you aren't on an Intel Mac, my function should
work fine.

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com