adding folder to the path option

I added a new folder to the path option. In this folder I created an m file. The command window cannot find the file. What have I overlooked?

Risposte (2)

Akiva Gordon
Akiva Gordon il 9 Nov 2012

1 voto

Adding a folder to the MATLAB path adds it only for the current MATLAB session. In order to save this path for a future MATLAB session, be sure to choose "Save" after adding the folder. Is it possible that you have closed MATLAB without saving that path?
Karlene Hoo
Karlene Hoo il 9 Nov 2012

0 voti

I did choose 'Save'. I even restarted Matlab and the computer. Still no recognition of the file.

1 Commento

What was the name of the file that you saved, and how are you calling it in the Command Window?

Accedi per commentare.

Categorie

Tag

Richiesto:

il 9 Nov 2012

Community Treasure Hunt

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

Start Hunting!

Translated by