Online/Incremental Learning (Neural Network) with S-Function

조회 수: 2 (최근 30일)
Marvin Klatte
Marvin Klatte 2020년 12월 16일
답변: Harsh 2025년 6월 19일
I would like to train/adapt my neural network online/incremental. I'm using S-Function in Simulink to realize.
While running the Simulink simulation i got an error in flag=3(output). "adapt" is a undefined function. Same error for function "train".
An error occurred while running the simulation and the simulation was terminated
Caused by:
  • Error in 'Sim_RNNOnline/S-Function' while executing MATLAB S-function 'RNNOnline', flag = 3 (output), at time 0.0.
  • Undefined function 'adapt' for input arguments of type 'double'.
Do I need any Toolbox for S-Function to use "train" or "adapt"? Is there any other option to "adapt" my neural Network incremental/online?
  댓글 수: 1
Muhammad Faisal Khalid
Muhammad Faisal Khalid 2021년 11월 11일
hi.
I have question.
if i have my trained neural network in mat file. how can i use it in my simulink model? using matlab function of S function.

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

답변 (1개)

Harsh
Harsh 2025년 6월 19일
The "adapt" and "train" function are part of "Deep Learning Toolbox" so you need to have that to use them inside a "S-Function". To check if you have the "Deep Learning Toolbox", run the following command in MATLAB Command Window
ver
I hope this resolves your query!

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by