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

Esteban Zubiria
Esteban Zubiria 2021년 1월 4일
편집: Esteban Zubiria 2021년 1월 4일
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.

댓글을 달려면 로그인하십시오.

 채택된 답변

Asvin Kumar
Asvin Kumar 2021년 1월 6일

0 개 추천

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

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

제품

릴리스

R2020b

질문:

2020년 12월 29일

댓글:

2021년 1월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by