How to generate Matlab code in Regression Learner App?

Dear scholars,
I have created a regression model and also exported the model into workspace.
But I need to generate the corresponding code. Any ideas how to do so?
In mathworks helpcenter it is mentioned to use generate code iconin the export section of the regression learner app, But I do not have such an option at all.

답변 (1개)

Cris LaPierre
Cris LaPierre 2021년 2월 5일

0 개 추천

Use the Generate Function option in the Export section (next to Export Model). See here.

댓글 수: 5

Alireza Babaei
Alireza Babaei 2021년 2월 5일
편집: Alireza Babaei 2021년 2월 5일
Thanks for your reply.
This is so weird, I am using the online Matlab (via web browser), but I do not have such an option at all. My own Matlab is 2015 and does NOT have 'Regression Learner App'. Following is a snapshot.
Ah, sorry. I was sharing the workflow in desktop MATLAB. The app in MATLAB Online does not yet support this. The team is aware of this and working on it.
Thanks for your reply.
Do you know if I can install 'Regression Learner App' on my Matlab R2015a?
It looks like the regression learner app was first introduced in R2017a. You will need to at least be on that version in order to have access to the app. You will also need to have the Statistics and Machine Learning toolbox installed.
Thanks for your great help.
Regards,
Alireza

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

카테고리

태그

질문:

2021년 2월 5일

댓글:

2021년 2월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by