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 Kommentar

Stephen23
Stephen23 am 23 Sep. 2016
Bearbeitet: Stephen23 am 23 Sep. 2016
"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.

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Walter Roberson
Walter Roberson am 5 Okt. 2016

2 Stimmen

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 am 5 Okt. 2016

1 Stimme

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...

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by