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 Commenti

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.

Accedi per commentare.

 Risposta accettata

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 Commento

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

Accedi per commentare.

Più risposte (0)

Prodotti

Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by