ActiveX to open the selected spreadsheet in Matlab

1 次查看(过去 30 天)
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.

回答(1 个)

Bob Thompson
Bob Thompson 2018-3-8
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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by