Newbie question: adding m-files

조회 수: 2 (최근 30일)
Nigel
Nigel 2011년 6월 5일
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...

답변 (1개)

Paulo Silva
Paulo Silva 2011년 6월 5일
add the path to your m-files
doc addpath
  댓글 수: 1
Image Analyst
Image Analyst 2011년 6월 6일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Adding custom doc에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by