Calling a function from a different directory

Hi
How can I put a function in a directory and use it in various other directories ?

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 3 Jan. 2018

5 Stimmen

Use addpath() to add the other directory to the MATLAB path.

Weitere Antworten (0)

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by