How to train Model Reference Controller
조회 수: 8(최근 30일)
표시 이전 댓글
Ajai Singh 2023년 2월 2일
댓글: Ajai Singh 2023년 2월 7일
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)
The inputs below generated the above error and I have no clue how the matrix dimensions are mismathcing.
I have attached both the files for reference.
댓글 수: 2
Find more on Model Predictive Control Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!