Error when using Predict block on Simulink
显示 更早的评论
On simulink I created a system as indicated below to test a Deep Learning based demodulator.

The Deep Learning Subsystem consists of the following blocks:

The first function block converts the incoming complex number into a vector as input to the network. The second function block after the network converts the class output which is a categorical into a double and is then provided as an output.
The error I get when trying to run the simulation is as follows:

Any feedback as to how I might resolve this issue would be much appreciated.
回答(1 个)
Anurag Mishra
2022-5-5
0 个投票
Hi,
Assuming that you are currently working on Matlab R2020b.This appears to be a bug related to size propagation for the Simulink block when the network has a featureInputLayer. It has been fixed in 2021a.Unfortunately in R2020b, the only option is to work around the bug.
类别
在 帮助中心 和 File Exchange 中查找有关 Deep Learning with Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!