Directory for File Exchange

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 Commento

Stephen23
Stephen23 il 23 Set 2016
Modificato: Stephen23 il 23 Set 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.

Accedi per commentare.

Risposte (2)

Walter Roberson
Walter Roberson il 5 Ott 2016

2 voti

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 il 5 Ott 2016

1 voto

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

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by