Missing "Generate Function" in Regression Learner App
2 views (last 30 days)
Show older comments
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:
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 Comments
Esteban Zubiria
on 4 Jan 2021
Edited: Esteban Zubiria
on 4 Jan 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.
Asvin Kumar
on 5 Jan 2021
@Esteban, I believe OP is asking about the missing 'Generate Function' button which is available in the desktop version of the app.
Accepted Answer
Asvin Kumar
on 6 Jan 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.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!