How can I make SimCoupler work ?

12 views (last 30 days)
Julie
Julie on 25 Mar 2014
Commented: Dao on 9 Sep 2025
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 Comments
YASSER
YASSER on 13 Feb 2025
Edited: YASSER on 13 Feb 2025
Simcoupler is free for the last version of matlab: in 2011
above this version of matlab, is premium
Dao
Dao on 9 Sep 2025
How about Matlab trial 2021a?

Sign in to comment.

Answers (1)

santhosh
santhosh on 19 Jul 2014
Edited: santhosh on 19 Jul 2014
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.

Tags

Products

Community Treasure Hunt

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

Start Hunting!