How to deploy function from MATLAB to Microsoft excel?

조회 수: 1 (최근 30일)
Manoj kumar Beriya
Manoj kumar Beriya 2021년 2월 23일
댓글: Manoj kumar Beriya 2021년 2월 28일
function ypred = mypredict(tbl)
%#function fitrtree
load('matlab.mat');
load('Trainingdata.mat')
ypred = trainedModel.predictFcn(Trainingdata);
end
This is made after trained the data from regression learner
How to deploy this function in form of web app and in excel to get new output by giving new inputs ?

채택된 답변

Bhomik Kankaria
Bhomik Kankaria 2021년 2월 27일
Hi Manoj,
You can create Excel Add-In from MATLAB for your function to use in Excel. Refer below link to know more about the steps required to do the same-
  댓글 수: 3
Bhomik Kankaria
Bhomik Kankaria 2021년 2월 27일
편집: Bhomik Kankaria 2021년 2월 27일
When compiling Excel add-ins or COM components from MATLAB using MinGW, you will also need to install Windows SDK 10.
See the following link on installing Windows SDK 10 with MinGW:
You can take a look at the software requirements for using the MATLAB Compiler with other MATLAB releases in the following link:
Manoj kumar Beriya
Manoj kumar Beriya 2021년 2월 28일
Thanks
It is working

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

추가 답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by