필터 지우기
필터 지우기

How to convert my Matlab code into an Excel add-in?

조회 수: 2 (최근 30일)
Ji Li
Ji Li 2018년 8월 16일
댓글: Ji Li 2018년 8월 16일
I would like to use Matlab to run a model simulation, all the calculations are done in Matlab, but inputs are from Excel file and the outputs are also returned to this excel file. How can I realize this process?

답변 (1개)

Paul Shoemaker
Paul Shoemaker 2018년 8월 16일
Ji Li,
I'm not sure about doing an add-in, but have you considered using the Matlab command "xlsread" to read an Excel spreadsheet, which then feeds your Matlab simulation, and then using the Matlab command "xlswrite" to write results back to an Excel spreadsheet?
The workflow is different than what you described, but may be suitable for your needs.
  댓글 수: 1
Ji Li
Ji Li 2018년 8월 16일
Thank you! This can be a way to get the result. But I hope to call Matlab commands directly in Excel, all the calculations are done behind the scene. I don’t even need to open Matlab.

댓글을 달려면 로그인하십시오.

카테고리

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