To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
I'm using a software that is based on the Matlab environment.
I have a simple problem that I was hoping somebody might be able to help me with.
I use a built in function called "import_drive_cycles" in order to generate two files that are necessary for a simulation.
I can do it manually no problem, but I have 2,000 files so I am hoping to automate it, if I can.
The files are named cycle1.mat....cycle2000.mat
Here is screen shot of the process.
So I type "imort_drive_cycles" and a window pops up and I select a file, for example cycle1.mat http://dl.dropbox.com/u/54057365/All/matlab1.jpg
Then, it asks me, do I want to use the default path, and I click "Yes".
So I am wondering is there anyway that I can do this automatically for the 2,000 files in the folder?
I have little programming experience but keen to learn.
Thank you in advance
No products are associated with this question.
For automation, it would be a lot easier if you can call the function from the command line, without having to do any of the mouse clicks (i.e., navigate to the directory and click the path confirmation). Do you have access to the source? Could you post it?