Using scripts from File Exchange

5 次查看(过去 30 天)
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?

采纳的回答

Richard
Richard 2012-3-14
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by