フィルターのクリア

Error Spice to Simulink using subcircuit2ssc

4 ビュー (過去 30 日間)
Qichen Yang
Qichen Yang 2023 年 1 月 6 日
コメント済み: Fan Yingpeng 2023 年 10 月 7 日
When I tried to use subcircuit2ssc to convert a SPICE model to simulink one, it always report the following error. So, could anyone help solve the issue? Thank you very much.
>> subcircuit2ssc('attempt.cir','myLib');
Error using spiceSubckt/getFunctionCalls
Functions must be enclosed in {}.
Error in spiceSubckt/loadSubckt
Error in spiceSubckt
Error in subcircuit2ssc
Error in subcircuit2ssc (line 31)
subcircuit2ssc(netlist,target);
  1 件のコメント
Fan Yingpeng
Fan Yingpeng 2023 年 10 月 7 日
I met the same problem when I attempted to imoport Infineon Mosfet Spice Model to simulink.
Have you solved this problem yet?
Thanks a lot

サインインしてコメントする。

回答 (1 件)

Yuvraj Singh
Yuvraj Singh 2023 年 1 月 9 日
Hi Qichen,
I understand you are trying covert SPICE model to a Simulink Model using subcircuit2ssc.
The error message suggests that thefunction defined in attempt.cir in not enclosed in {}.
I found a MATLAB Answers link which provides resolution to a similar problem. Where the SPICE Model had missing definitions.
I hope the above information helps you resolve the issue
-Yuvraj

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by