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
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 ExchangeDeep Learning with Simulink についてさらに検索

製品

リリース

R2020b

回答済み:

2022 年 5 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by