Calling a function from a different directory

50 visualizzazioni (ultimi 30 giorni)
Hi
How can I put a function in a directory and use it in various other directories ?

Risposta accettata

Walter Roberson
Walter Roberson il 3 Gen 2018
Use addpath() to add the other directory to the MATLAB path.

Più risposte (0)

Categorie

Scopri di più su Search Path in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by