MATLAB Answers

How to deploy function from MATLAB to Microsoft excel?

1 view (last 30 days)
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 ?

Accepted Answer

Bhomik Kankaria
Bhomik Kankaria on 27 Feb 2021
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 Comments

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!