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.