Using scripts from File Exchange

5 vues (au cours des 30 derniers jours)
Hal
Hal le 14 Mar 2012
Forgive my word usage ignorance, but I'm not quite sure how to phrase this question.
Is there some way to add scripts that I've downloaded from the File Exchange to the bin, or functionally add a shortcut, so that I can use them from the Matlab command line regardless of which directory I'm actually in?

Réponse acceptée

Richard
Richard le 14 Mar 2012
Yes, You need to save the file in your matlab directory. So, save the file in a folder somewhere such as my documents\matlab\file exchange folder. Then open matlab, go to file > set path > click on add folder, select the location where you have just saved the file, click on save, and then close. Then, close and re-open matlab, the function should be ready to use. Let me know if you have any difficulties.

Plus de réponses (0)

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by