saveLearnerForCoder and loadLearnerForCoder does not work in R2018a

2 ビュー (過去 30 日間)
bhaskar kafle
bhaskar kafle 2020 年 7 月 15 日
回答済み: Steven Lord 2025 年 4 月 22 日
I wanted to export trained classification learner model into Simulink. This was possible by using matlab function block in simulink and using saveLearnerForCoder ,loadLearnerForCoder, predict inside the matlab function. But, saveLearnerForCoder and loadLearnerForCoder does not work in my version of Matlab(R2018a) . Is there any solution to my problem.
Thank you
  2 件のコメント
harris harris
harris harris 2021 年 4 月 6 日
Is there anyone who could solve that?
Mohamed
Mohamed 2025 年 4 月 22 日
I came here for the same problem. Does anyone know any work around?

サインインしてコメントする。

回答 (1 件)

Steven Lord
Steven Lord 2025 年 4 月 22 日
The saveLearnerForCoder function is part of Statistics and Machine Learning Toolbox and was introduced in release R2019b. Even if you had this toolbox installed and licensed, the release you're using predates the introduction of that function. You can check if you have this toolbox installed by running the ver command and looking for a line starting with "Statistics and Machine Learning Toolbox" in the displayed output.
If that line exists then you will need to upgrade your installation to R2019b or later to use this function. If it doesn't you will need to upgrade and install that toolbox in the upgraded installation.
The same holds for loadLearnerForCoder.

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by