Missing "Generate Function" in Regression Learner App

Hi all,
I wish to generate MATLAB code for the trained model using Regression Learner App, just as instructed in (https://www.mathworks.com/help/stats/export-regression-model-to-predict-new-data.html#bvi2d8a-49)
But unfortunately, the "Generate Function" option is missing in my MATLAB UI, as shown below:
I'm using https://matlab.mathworks.com/ , with MATLAB R2020b(9.9.0) Version 21.0.
Thus my questions are:
1. Why should I find the respective "Generate Function" option?
2. If (1) not applicable in the version i used, is there other way to generate the MATLAB code out from the Regression Learner App??
THanks!

2 comentarios

Esteban Zubiria
Esteban Zubiria el 4 de En. de 2021
Editada: Esteban Zubiria el 4 de En. de 2021
Hi!
In the image you posted the model is not trained yet. I believe you must first train the model, and once the trainning is finished, "EXPORT" buttons will be available.
I hope that was helpful.
@Esteban, I believe OP is asking about the missing 'Generate Function' button which is available in the desktop version of the app.

Iniciar sesión para comentar.

 Respuesta aceptada

Asvin Kumar
Asvin Kumar el 6 de En. de 2021
The ‘Generate Function’ option is unavailable on MATLAB Online as of R2020b. This will be available starting R2021a.
Currently, there’s no workaround for this option in MATLAB Online. It should work on MATLAB Desktop.

1 comentario

I see, that is unfortunate.
Thanks alot for letting me know tho !!

Iniciar sesión para comentar.

Más respuestas (0)

Productos

Versión

R2020b

Preguntada:

el 29 de Dic. de 2020

Comentada:

el 29 de En. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by