Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to access MATLAB's Current Folder History programmatically

Is it possible to access the Current Folder History of MATLAB using the Command Window?

I already searched for this multiple times on the internet as well as forums and the MATLAB help. But I could not find any solution for this.

Maybe it is possible to read the history data from the file where MATLAB stores it. But searching the MATLAB installation directory as well as the userpath I couldn't find the file.

like image 379
wls Avatar asked Aug 25 '26 09:08

wls


1 Answers

The history is stored in the prefdir:

edit ( fullfile ( prefdir, 'cwdHistory.m' ) )
like image 199
matlabgui Avatar answered Aug 26 '26 23:08

matlabgui



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!