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.

Answers (1)

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.

Categories

Products

Release

R2020b

Community Treasure Hunt

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

Start Hunting!