How can I make SimCoupler work ?
이전 댓글 표시
I want to use SimCoupler to have a co-simulation between PSim and MATLAB Simulink. My PSim version is 9.1. My MATLAB version is R2012.b. I have done everything written in the PSim tutorial but when I click on the browse button of the SimCoupler block in Simulink I have the following message :
Undefined function 'SimCoupler' for input arguments of type 'double'.
Error in PSimDialog>BrowseBtn_Callback (line 107) SimCoupler(100, get(handles.PSimFileEdt, 'String'));
Error in gui_mainfcn (line 96) feval(varargin{:});
Error in PSimDialog (line 42) gui_mainfcn(gui_State, varargin{:});
Error while evaluating uicontrol Callback
Thanks in advance for your help.
댓글 수: 9
Ranjithkumar Gatla
2017년 6월 5일
I too got the same problem, and getting the following message
Cannot find an exact (case-sensitive) match for 'PsimDialog'
The closest match is: PSimDialog in C:\Program Files\MATLAB\R2016a\toolbox\simulink\SimCoupler\PSimDialog.m
Error while evaluating UIControl Callback
Adam
2017년 6월 5일
Just spell it correctly then! It isn't the 'same' problem at all.
Ranjithkumar Gatla
2017년 6월 6일
sorry, I didn't understand, what do you mean?
Ranjithkumar Gatla
2017년 6월 7일
yes, I have changed, but still I am getting same error
Adam
2017년 6월 7일
You can't be getting the same error if you have spelled it correctly.
mansi joisher
2021년 3월 17일
Dao
2025년 9월 9일
How about Matlab trial 2021a?
답변 (1개)
You have to configure simcoupler first. In PSIM, click on simcoupler setup(Utilities->Simcoupler setup) and let the PSIM configured with MATLAB. Then you're good to go.
카테고리
도움말 센터 및 File Exchange에서 Development Computer Setup에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!