I start with Matlab and would like to know how could I access to a folder and get contents to access files and read them.
I have a variable in workspace tmpfolder that is equal to ‘path to folder’ but I don’t find how could I make dir(tmpfolder) and get files, browse any file content to get a string value…
I start with Matlab and would like to know how could I access to
Share
If you have an image file in jpeg format in another folder named
myimageand a text file calledmytext, use: