Problem in simulink after using nftool for neural network
Show older comments
Hi, I've created a neural network with nftool (Input=one vector of 3 row and n columns, the first row is the time step. Output= one vector of 1 row and n columns) and I want to test the Simulink block generated after the training. There comes out two errors: 1)Error in port widths or dimensions. Output port 1 of 'Simulink_NFTOOL120/Neural Network/Process Input 1' is a one dimensional vector with 2 elements.
2)Error in port widths or dimensions. Input port 1 of 'Simulink_NFTOOL120/Neural Network/Layer 1' is a one dimensional vector with 3 elements.
Till now I have not changed anything, how can it be that it doesn't work?
After that I changed the automatically generated Input useing a "From File" block with inside the .mat file of the input given in the training, so I expected the same output of the nftool, but I had the same errors Please help me. Thanks in advance for Your help. Filippo
Answers (0)
Categories
Find more on Pattern Recognition in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!