how do i use nueral network in simulink?

조회 수: 2 (최근 30일)
alireza mazaheri
alireza mazaheri 2019년 4월 17일
답변: Akshat 2024년 9월 6일
i have problem to call the neural network tha has been trained, in matlab simulink function block.
as you know after training the nueralnetwork, the object, the name is ''net'' will be create , and it works in workspace when you call ''net'' with an argument. but if i call it in a matlab function in simulink, i see:
Undefined function or variable 'net'.
Function 'DC//DC 1/MPPT Control 2 nueral network' (#186.1601.1615), line 77, column 4:
"net([Irr;tmp])"
Launch diagnostic report.

답변 (1개)

Akshat
Akshat 2024년 9월 6일
Hi Alireza,
As I see, you have a workspace variable which you want to use in the MATLAB Function block. The error is because the variable is not visible to the Simulink Model.
I think the following MATLAB Answers queries can be of use to you:
Hope this helps you.

카테고리

Help CenterFile Exchange에서 Pattern Recognition and Classification에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by