How to make S-function for simcoupler for co-simulation of MATLAB and PSIM?
古いコメントを表示
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 件のコメント
Walter Roberson
2015 年 8 月 24 日
We need the complete error message about the error.
Muhammad
2015 年 9 月 1 日
Aland Bravo
2016 年 12 月 23 日
Solved: It works fine on Matlab R2011a and PSIM 9.0 version.
採用された回答
その他の回答 (1 件)
Ranjithkumar Gatla
2017 年 6 月 5 日
1 投票
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.
カテゴリ
ヘルプ センター および File Exchange で Model, Block, and Port Callbacks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!