Newbie question: adding m-files

4 vues (au cours des 30 derniers jours)
Nigel
Nigel le 5 Juin 2011
I am wanting to add a title to a figure with several subplots and found an m-file on the file exchange (at http://www.mathworks.com/matlabcentral/fileexchange/3218). How do I add this so that Matlab recognises this as a general function for all time regardless of what my current folder is? Thanks in advance...

Réponses (1)

Paulo Silva
Paulo Silva le 5 Juin 2011
add the path to your m-files
doc addpath
  1 commentaire
Image Analyst
Image Analyst le 6 Juin 2011
It's best if you put that in your startup.m file, or follow it with savepath, or both, so that it will remember it for future sessions.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Adding custom doc dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by