필터 지우기
필터 지우기

Infineon Mosfet SPICE to simulink

조회 수: 11 (최근 30일)
Fan Yingpeng
Fan Yingpeng 2023년 10월 7일
댓글: Fan Yingpeng 2023년 10월 19일
Dear,
When I attempt to import Infineon Mosfet SPICE Model to simulink, I met the following problem:
"Error using spiceSubckt/getFunctionCalls
Functions must be enclosed in {}."
I have examined the amuount of "{" and "}", they are matched
SPICE Model is attached as .txt file
Could anyone help solve the issue? Thank you very much.
  댓글 수: 1
dpb
dpb 2023년 10월 7일
The error doesn't say there are mismatched {} but that the "Functions must be enclosed in {}." While I don't have Simulink and don't use SPICE, I'm guessing what that means is that the whole function must be passed as a cell; the text file doesn't show any such surrounding {}; but how you actually wrote/import the function with Simulink I don't know; but if it is a file reference, then I'd start by adding an pair of curlies "{}" around the whole thing, taking the message literally. I presume there also must be an example somewhere in the doc that illustrates the process you can compare to and get to work for testing...

댓글을 달려면 로그인하십시오.

채택된 답변

Yash Sharma
Yash Sharma 2023년 10월 19일
Hi Fan,
I understand that you want to import an Infineon MOSFET SPICE Model to Simulink, I used your model file, and it is indeed giving me the same error. However, I also did some testing on other MOSFET SPICE models, and they are working fine, I also tried pasting your SPICE model in “cir” file and that is also giving me the same error, so the issue is most likely in your model file’s syntax.
The following documentation link explains how to convert a MOSFET subcircuit into an equivalent Simscape component.
Hope this helps!
  댓글 수: 1
Fan Yingpeng
Fan Yingpeng 2023년 10월 19일
Hi,
Thanks a lot for your answer, I examined the Infineon MOSFET SPICE Model and I found that the SPICE Model of the "Silicon Carbide MOSFET Discretes" series can't be converted into simscape with errors as mentioned, but the series of OptiMOS SPICE Model can work fine

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by