How to deploy function from MATLAB to Microsoft excel?

1 visualización (últimos 30 días)
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 ?

Respuesta aceptada

Bhomik Kankaria
Bhomik Kankaria el 27 de Feb. de 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 comentarios
Bhomik Kankaria
Bhomik Kankaria el 27 de Feb. de 2021
Editada: Bhomik Kankaria el 27 de Feb. de 2021
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 el 28 de Feb. de 2021
Thanks
It is working

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Enterprise Deployment with MATLAB Production Server en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by