Help Setting Path Environment

조회 수: 2 (최근 30일)
James Pistorino
James Pistorino 2017년 2월 26일
댓글: James Pistorino 2017년 2월 26일
Matlab newbie, so please be gentle.
I downloaded some code from: https://bitbucket.org/xinggangw/bcf
I then extracted the whole thing into a directory: bcf.
When I try and run the code (e.g., exp_ani) I get a series of errors like:
>> exp_ani
Warning: Name is nonexistent or not a directory: include\llc
> In path (line 109)
In addpath (line 88)
In exp_ani (line 3)
I assumed that indicates the path is wrong.
I then set the path to include all the place where the files were extracted to and all subdirectories.
Further, when I look at the paths listed, they appear to be correct.
What am I doing incorrectly here?
  댓글 수: 1
David Goodmanson
David Goodmanson 2017년 2월 26일
Hi James, Have you tried doing this with the 'pathtool' gui? It seems to work pretty well.

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2017년 2월 26일
You need to cd into your bcf directory to run the code in exp_ani . It assumes that the directories it wants are not already part of the path but that they are available in the current directory being executed from.
  댓글 수: 1
James Pistorino
James Pistorino 2017년 2월 26일
Thanks. That appears to solve at least that part of things.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Search Path에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by