Reputation: 1
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.
Upvotes: 0
Views: 85
Reputation: 30579
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.
Upvotes: 0