How to update compiled .mat file in standalone?

3 views (last 30 days)
Hi, i have a gui standalone where i load and save data from/to a .mat file. Loading does work with fallowing code...
but saving it with
creats a new .mat file and does not update the original. How can i save to the original .mat file?
There are already some QUESTIONS about this topic put this answer does not work for me...

Accepted Answer

Adam on 12 Nov 2014
Use the full path when saving. Otherwise it will dump it in some odd location related to the install directory.
sejo on 12 Nov 2014
Thx for your help! i will go with the 'simpler solution' as it works fine for me for the default values. for the other values which can be saved i use uigetfile and uiputfile...

Sign in to comment.

More Answers (0)


Find more on Software Development Tools in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!