フィルターのクリア

Input an array into predict block in Simulink

1 回表示 (過去 30 日間)
Stefan Maier
Stefan Maier 2021 年 6 月 16 日
コメント済み: Bartlomiej Mroczek 2023 年 5 月 15 日
Hello everyone,
I'm currently learning the developement of neuronal networks. I developed an network in keras and imported it into matlab with the support package from matlab as .h5 File
net = importKerasNetwork('TestKeras.h5');
In the Matlab Command I can do somthing like this
predict(net,[1 0])
It gives me the correct output as expected. Now what I want is to use this network in Simulink. I exportet the network to a .mat File so that i can use it in the predict Simulink Block. For Example in Simulink I do somthing like this:
I want to insert an Test Array/Matrix to the predict Function of my neuronal net. But this doesn't work as expected. This is the error that Simulink gave me:
Can someone help me how to input the Data(Array) correctly out of Simulink so I get my model to work?
Thank you in advance :)
  1 件のコメント
Bartlomiej Mroczek
Bartlomiej Mroczek 2023 年 5 月 15 日
I have the same problem :)
How to provide data to the machine with a timestamp.Timetable and timeseries works but the results are wrong, i.e. the given data is truncated in the time range T = 22 ? no sense.No documentation in this regard, poor :)

サインインしてコメントする。

回答 (1 件)

Sivylla Paraskevopoulou
Sivylla Paraskevopoulou 2022 年 5 月 9 日

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by