How to train Model Reference Controller
조회 수: 4 (최근 30일)
이전 댓글 표시
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.
I have attached both the files for reference.
Thank you.
답변 (1개)
Arkadiy Turevskiy
2024년 1월 11일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Model Predictive Control Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!