Error using save funktion

Hey folks,
i'm trying to save my workspace using the "save"-Funktion, I thought it shouldn't be difficult... So that's my error:
Error using save
Cannot create 'DataPackageWorkspace.mat' because
'Aufgabe\Henyey-Greenstein\IdentifyG' does not exist.
I used
save('Aufgabe\Henyey-Greenstein\IdentifyG\DataPackageWorkspace.mat')
and my matlabpath is
F:\WS\Aufgabe
has any body an idea what's wrong with it?!

 Accepted Answer

Michael Haderlein
Michael Haderlein on 3 Feb 2015
What is the full path of the folder you want to save the file in? Is it by chance
F:\WS\Aufgabe\Henyey-Greenstein\IdentifyG\
If so, you need to remove the "Aufgabe" in your save path as it's already part of the matlab path.

More Answers (1)

Just Us
Just Us on 3 Feb 2015
It is by chance....
thanks a lot it seems to work now! :)

Categories

Products

Community Treasure Hunt

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

Start Hunting!