Calling a function from a different directory

61 ビュー (過去 30 日間)
Reza Reza
Reza Reza 2018 年 1 月 3 日
回答済み: Walter Roberson 2018 年 1 月 3 日
Hi
How can I put a function in a directory and use it in various other directories ?

採用された回答

Walter Roberson
Walter Roberson 2018 年 1 月 3 日
Use addpath() to add the other directory to the MATLAB path.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSearch Path についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by