Sim command not working
이전 댓글 표시
Hallo,
Can anyone explain why 'sim' command in neural network is not working in Matlab version 2015 and above? After training the network, I wanted to simulate the values to predict the accuracy of the network. I used the command :
y=sim(net,p); where y is the simulated values matrix of the input matrix p
When i try to do the same using the neural network toolbox, I was able to simulate the values but not able to use 'sim' as objective function for the subsequent optimization methods.
Regards, Bharath
채택된 답변
추가 답변 (2개)
Greg Heath
2016년 3월 11일
You cannot use the names of MATLAB commands or functions for your own use. They are RESERVED.
Any of the commands
lookfor sim
help sim
doc sim
which sim
would have indicated a reserved name.
By the way, as you can gather from the help or doc documentation on fitnet, patternnet, etc the command y = sim(net,x) has been replaced by y = net(x). SIM is now used w.r.t. SIMULINK.
Hope this helps.
Thank you for formally accepting my answer
Greg
Bharathwaj Krishnamoorthi
2016년 3월 11일
편집: Bharathwaj Krishnamoorthi
2016년 3월 11일
0 개 추천
댓글 수: 2
Steven Lord
2016년 3월 11일
Type this command at the Trial>> prompt and show the output.
net
Greg Heath
2016년 3월 11일
편집: Walter Roberson
2016년 3월 14일
Your attachment is unreadable. Just cut and paste the code. Greg
NEVER MIND: CTRL + DID THE JOB!
카테고리
도움말 센터 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
