필터 지우기
필터 지우기

How can I use some downloaded function?

조회 수: 59 (최근 30일)
Muhamed Sewidan
Muhamed Sewidan 2020년 7월 27일
댓글: Muhamed Sewidan 2020년 7월 27일
I downloaded some functions files with a script file from Mathworks website. Every time I run this script, it tells me that these function are not recognized. How can I make MATLAB call them as the built-in functions?

채택된 답변

BN
BN 2020년 7월 27일
편집: BN 2020년 7월 27일
Hello
In order to use downloaded function you can click on the Set Path in the home menu:
And then click on the add folder and choose the folder that contains your desire function; then click save.
Alternatively, you can use this:
addpath D:\whatever_your_function_is
% then
savepath
  댓글 수: 3
BN
BN 2020년 7월 27일
For example, you want to add five functions at the same time, so you need to download them and put ".m" file of them in the same folder (like D:\Newolder ) then add this folder using the set path. Alternatively you can add all 5 functions manually one by one (no matter where they are.
Muhamed Sewidan
Muhamed Sewidan 2020년 7월 27일
thanks

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

추가 답변 (1개)

Steven Lord
Steven Lord 2020년 7월 27일
Where on the MathWorks website did you download the files? If you downloaded them from the File Exchange, I recommend using the Add-On Explorer to simplify the process of making those files available to MATLAB.

카테고리

Help CenterFile Exchange에서 Downloads에 대해 자세히 알아보기

제품


릴리스

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by