How to make S-function for simcoupler for co-simulation of MATLAB and PSIM?
조회 수: 10 (최근 30일)
이전 댓글 표시
As i am using Matlab version 2015a and PSIM version 9.0 and i want to use simcouple to perform cosimulation between Matlab and PSIM but it generates following error when we try to attach simulation schematic of PSIM in simcoupler.
''Error in UIControl callback"
We have two .m files in PSIM directory slblocks.m and PSimDialog.m and i run both of the programs and i have error in PSimDialog.m file.
Please guide me in this regard.
Thanks Muhammad Saleem
댓글 수: 3
채택된 답변
Varun Bhaskar
2015년 8월 26일
Hi,
What is the error message you encountered?
댓글 수: 3
fei teng
2016년 3월 30일
I have meet the same problem with you I want to co_simulation between PSIM and MATLAB , when I open the example of psim which it provided, and start the simcoupler. but some errors always hit my eyes.The errors are similar to you ,such as Error in PSimDialog. Idon't know how to deal with it. if you know this solution ,please tell me ,thanks very much!
추가 답변 (1개)
Ranjithkumar Gatla
2017년 6월 5일
PSIM 9.0 is not compatible with MatLab/Simulink R2015R. You must upgrade to PSIM 10 or later. Another option is to use MatLab R2013a or earlier version.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!