How to generate Matlab code in Regression Learner App?

4 visualizaciones (últimos 30 días)
Alireza Babaei
Alireza Babaei el 5 de Feb. de 2021
Comentada: Alireza Babaei el 5 de Feb. de 2021
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.

Respuestas (1)

Cris LaPierre
Cris LaPierre el 5 de Feb. de 2021
Use the Generate Function option in the Export section (next to Export Model). See here.
  5 comentarios
Cris LaPierre
Cris LaPierre el 5 de Feb. de 2021
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.
Alireza Babaei
Alireza Babaei el 5 de Feb. de 2021
Thanks for your great help.
Regards,
Alireza

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by