Can I import a Pre trained neural network into NN predictive control toolbox?

I have a neural network pre trained..the code is as follows a= [****]; b= [****]; dataset= [a ; b ];
size(a) size(b) rand('seed', 491452) net = fitnet(150); net.trainParam.goal=1e-6; [net,tr] = train(net,a,b); nntraintool plotperform(tr) testA = a(:,tr.testInd); testB = b(:,tr.testInd); testC = net(testA); perf = mse(net,testB,testC); view(net) gensim(net) y=[****]; y = net(test); y;
It works great.. now Can I import it in to NN predictive control toolbox in simulink??

답변 (1개)

Shashank Prasanna
Shashank Prasanna 2013년 6월 25일
You can generate a simulink block using the following function:
Here is an example that shows how to go about doing that:

댓글 수: 2

if u see the code.. i did that.. the problem is i have 5 inputs..
I can't run your code. Can you explain what is the issue you are facing with the inputs?

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

카테고리

도움말 센터 및 File Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

질문:

2013년 6월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by