This is the fourth in a series of videos that will go through the process of planing and implementation of a simple GUI. Realistically, I would not plan out a GUI this simple, but the idea is to show what my planning process is on a simple example. The purpose of this GUI is to:
Select an Excel file and read it into the MATLAB workspace
Modify the data that came from the file. In this case by multiplying by a scalar
Write the modified data into an Excel file with a name derived from the original filename
By using the xlsread function, MATLAB only reads from the first sheet in excel. The question I want to ask is how can I read from other sheets or even create one when exporting data into an excel spreadsheet?
I am working on a project where an avi video file is opened up inside a GUI made within MatLab (version 7.7.0). My problem is when I try to open avi video files from an external hardrive (also copying the file from the external hardrive to the computer), a pop-up error displays of “Video file wasn’t read!”
Hi
By using the xlsread function, MATLAB only reads from the first sheet in excel. The question I want to ask is how can I read from other sheets or even create one when exporting data into an excel spreadsheet?
Thanks
@”MATLAB Newbie”
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/xlsread.html
Look at the third syntax in the list. It shows how to specify the Excel sheet you want to read with MATLAB.
Doug
Hi Doug,
thanks for the examples - could you post the source code?
Thanks,
Don
Don,
I think is is long lost. Sorry!
Doug
I am working on a project where an avi video file is opened up inside a GUI made within MatLab (version 7.7.0). My problem is when I try to open avi video files from an external hardrive (also copying the file from the external hardrive to the computer), a pop-up error displays of “Video file wasn’t read!”
Any ideas?
@Cliff,
Can other programs open the same files?
Doug