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?
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.
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.
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.
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.
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.