Neural Network error in Simulink

2 views (last 30 days)
Pierangelo
Pierangelo on 17 Feb 2013
Hi everyone,
I have set and trained a Neural Network on a MATLAB editor file and used the 'gensim' command to implement it in Simulink. Up to this step all works good.
The problem rises up when I copy the block generated into another bigger model: in fact when simulation starts, an error about a selector inside the NN block comes out. I report here what it says because I really don't understand it:
"For dimensions 1: error evaluating parameter 'Indices' in 'n63tue/energy balance engine + 3 zone model/Neural Network subsystem/Neural Network/Process Output 1/removeconstantrows_reverse/Selector': Matrix dimensions must agree."
The network has 3 inputs and 2 ouputs. I hope someone will help me.

Answers (1)

Pierangelo
Pierangelo on 21 Feb 2013
I update the question. I noticed that actually the Neural Network Simulink block starts to give me the error when I place it into another Simulink ambient.
How can I create directly the NN block into a specified ambient?
Thank you very much.

Categories

Find more on Sequence and Numeric Feature Data Workflows 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!