Simulink Neural Network data input

2 views (last 30 days)
Sasanka Potluri
Sasanka Potluri on 20 Jan 2016
I have a 2x147 matrix as an input and a 3x147 matrix as an output, and I trained the NN pattern recognition with the input matrix and output matrix. I then generated a Simulink model of the trained NN, and now I want to test the new dataset of same size (2x147).
I am getting the following errors:
Error in port widths or dimensions. Output port 1 of NN_Trail/Constant is a [2x147] matrix.
Error in port widths or dimensions. Input port 1 of NN_Trail/Pattern Recognition Neural Network is a one dimensional vector with 2 elements. If I give a constant value of 2 elements, then the Simulink runs for the mentioned time and gives the desired output. How can I get it to work with the data I've described?
My idea in future is to connect the trained neural network to a simulated plant and find the abnormal data from the plant.

Answers (0)

Categories

Find more on Deep Learning Toolbox 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!