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 comentario

Stephen23
Stephen23 el 23 de Sept. de 2016
Editada: Stephen23 el 23 de Sept. de 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.

Iniciar sesión para comentar.

Respuestas (2)

Walter Roberson
Walter Roberson el 5 de Oct. de 2016

2 votos

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 el 5 de Oct. de 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...

Categorías

Más información sobre Search Path en Centro de ayuda y File Exchange.

Preguntada:

el 23 de Sept. de 2016

Respondida:

el 5 de Oct. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by