Neural Network error in Simulink

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.

回答(1 个)

Pierangelo
Pierangelo 2013-2-21

0 个投票

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.

类别

帮助中心File Exchange 中查找有关 Deep Learning Toolbox 的更多信息

提问:

2013-2-17

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by