ActiveX to open the selected spreadsheet in Matlab

1 visualización (últimos 30 días)
noname
noname el 8 de Mzo. de 2018
Respondida: Bob Thompson el 8 de Mzo. de 2018
Hi,
I want to write a code in Matlab that I can open the selected spreadsheet in Excel file and plot it. Does anyone know how to do that? I'd really appreciate your help. Thanks alot.

Respuestas (1)

Bob Thompson
Bob Thompson el 8 de Mzo. de 2018
ActiveX is very powerful for manipulating the actual excel document through excel, but takes a while to learn. If you are just looking to plot some data, xlsread() is a much simpler command which will read your data and allow you to manipulate it within matlab.
https://www.mathworks.com/help/matlab/ref/xlsread.html

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by