Hello, I would to download some file Exchange like this https://it.mathworks.com/matlabcentral/fileexchange/7444-nyquist-plot-with-logarithmic-amplitudes/content/nyqlog.m. In which directory of Matlab Program have I to put the file after the unzip? Thank you.

댓글 수: 1

Stephen23
Stephen23 2016년 9월 23일
편집: Stephen23 2016년 9월 23일
"In which directory of Matlab Program have I to put the file after the unzip?"
Answer: any directory on the MATLAB search path.
The simplest is to put it in your current directory.

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

답변 (2개)

Walter Roberson
Walter Roberson 2016년 10월 5일

2 개 추천

If you use the Add-On Explorer ("Get Add-Ons"), it will automatically create a new directory, download, do any necessary set-up, and add it to the path.
dpb
dpb 2016년 10월 5일

1 개 추천

Stephen answered the basic question; I'll point out that I (and I expect most experienced users) keep a specific "Utilities" directory for such additions to base Matlab functionality and add it to the MATLABPATH with the path command.
This has the benefit of not cluttering working directory with possibly longterm to be kept functions unrelated to the work at hand necessarily and also in not mixing code and data. In short, I suggesting devise a system and implement it...

카테고리

도움말 센터File Exchange에서 Search Path에 대해 자세히 알아보기

질문:

2016년 9월 23일

답변:

2016년 10월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by