Is it possible to add a directory that does not yet exist to the MATLAB path in MATLAB 7.2 (R2006a)?

1 view (last 30 days)
I want to use ADDPATH on a directory that does not yet exist; in other words, I want to be able to add directories dynamically.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
It is not possible to add directories dynamically to the MATLAB path.
As a workaround, create the directory, add the path, then remove the directory.

More Answers (0)

Categories

Find more on Search Path in Help Center and File Exchange

Products


Release

R2006a

Community Treasure Hunt

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

Start Hunting!