How to train Model Reference Controller
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have the following simulink model of Active Clamp Flyback Controller and wanted to design a closed loop control but I am running into the following error when using Model reference controller:
Error using /
Matrix dimensions must agree.
Error in nnmodref (line 473)
step_size=ceil(max([min([(rand*(max_r_int-min_r_int)+min_r_int) max_r_int]) min_r_int])/Ts);
Error in nncontrolutil (line 19)
feval(command,varargin{:});
The inputs below generated the above error and I have no clue how the matrix dimensions are mismathcing.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1282811/image.png)
I have attached both the files for reference.
Thank you.
2 Kommentare
Antworten (1)
Arkadiy Turevskiy
am 11 Jan. 2024
Hi.
This block is not actively maintained anymore. Please try Model Reference Adaptive Control block in Simulink Control Design and see if that works for you.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Linear Plant Specification finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!