Simulink model reference control neural network

16 ビュー (過去 30 日間)
Gagas Prajamukti Harianto
Gagas Prajamukti Harianto 2019 年 11 月 14 日
コメント済み: Hasan Falah 2021 年 2 月 25 日
I have problem about the simulink model reference control. In plant identification i browse simulink model and i generate training, but error "you must enter a valid filename for your simulink plant model" and in the reference control is same error. Please help me
  1 件のコメント
yue yu
yue yu 2021 年 1 月 27 日
If you open the simulink model in MATLAB, no error will be reported.
I have another problem: if I change Plant Identificatin's “No.Delayed Plant inputs” or “No.Delayed Plant outputs” and finished the train of identifier and controller and then run the whole model, simulink will report two errors
"Invalid dimensions specified for input port 1 in 'mrefrobotarm/Model Reference Controller/NN Plant/Matrix Gain'. The gain specified has dimensions [10x3], while the input is being set to have the dimensions [2]. These dimensions are not suitable for generating the matrix product of the gain with the input signal "
and
"Error in port widths or dimensions. Output port 1 of 'mrefrobotarm/Model Reference Controller/NN Plant/Mux2' is a one dimensional vector with 2 elements."
Have you ever encountered similar problems? Do you have any suggestions.

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

回答 (1 件)

sripradha iyengar
sripradha iyengar 2019 年 12 月 6 日
Hey!
I was getiing the same error too. If you save your file in matlab's default folder it won't happen. This is what I did.
Run matlab as administrator by default to store your file in matlab's default folder. (I had to do this because my default folder is in C drive)
type matlab in search window -> Open Location->right click->properties->Shortcut->Advanced-> Check run as administrator
type ballrepel0 in your command window. File->Save as. The location of the default folder is displayed here( There's probably an easier way to do this, but... I'm pretty new.. so this is what I did.)
Copy this location.
Now, save your file in this location.
I didn't get that error after doing this!
Good Luck!:)
  2 件のコメント
PAVAN KUMAR CHAVALI
PAVAN KUMAR CHAVALI 2020 年 4 月 11 日
Hey thanyou man it did worked.
Hasan Falah
Hasan Falah 2021 年 2 月 25 日
I tried same procedure as mentioned above, but it does not work.
could you please explain more details about that issue

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

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by