In Matlab 2011a the file that need to be loaded is put on which folder

96 Views Asked by At

I'm having problem with MATLAB 2011a i.e. I want to load file of data in my program but I can't access it as I keep it in bin folder C:\Program Files\MATLAB\R2011a\bin & there is no folder name as "work" as well. so where should I keep my data file to load it.

1

There are 1 best solutions below

0
On

You will generally have write access to the first folder listed by the userpath function (e.g. G:\Users\Jon\Documents\MATLAB), which is automatically added to the search path on startup of MATLAB.

Note that adding folders to the path does NOT allow you to access non-MATLAB files (e.g. .dat, etc.) without either an absolute or relative path, or having the data file in your current working directory.