필터 지우기
필터 지우기

Creating M-file using Excel/Visual Basic

조회 수: 3 (최근 30일)
Nihal
Nihal 2011년 2월 9일
I have a few Excel files which have a number of graphs and plots. I would like to now convert numeric data within these Excel files into a M-file and then load it within MATLAB.
I would like to automate this process such that at press of a button I can generate an M file.
Is there an existing plugin within Excel or some existing Visual Basic code that can do this?
I have absolute no knowledge of Visual Basic however if there is an example then I can probably suit it to my needs.
Any help or starting point or example would be appreciated.

채택된 답변

John
John 2011년 2월 9일
Do you have to use visual basic? In MATLAB you can use xlsread to load in the excel file and then save the loaded data into .mat files.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by