Working in Excel with live on MATLAB
조회 수: 8 (최근 30일)
이전 댓글 표시
On matlab, I am going to import an Excel file and work on it live in real time.
If I change the value in Excel, I want to reflect it in real time in MATLAB.
However, as far as I know, if you modify it without saving the Excel, it cannot be applied in MATLAB right away.
Is there a way to solve this?
댓글 수: 1
halleyhit
2024년 8월 29일
It is difficult, because excel and MATLAB are two separated tasks and thus not easy to exchange data. One workaround might be generating your MATLAB code into Excel Add-ins, so that all data are in Excel only.
채택된 답변
Angelo Yeo
2024년 8월 29일
편집: Angelo Yeo
2024년 8월 29일
See the video below for a quick introduction to the toolbox.
댓글 수: 0
추가 답변 (1개)
Image Analyst
2024년 8월 30일
You can interact with Excel "live" if you are using Windows and use ActiveX. I attach a demo for that, ExcelDemo. You can stop the demo at a breakpoint at any point and switch over to Excel and see the changes that you have made will be there. I'm also attaching a class with many useful ActiveX functions, Excel_utils.m.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Export to MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!