"Function asinh unrecognized" error when trying to convert LTSpice Netlist to simscape block

조회 수: 7 (최근 30일)

I want to import the SCT3030AL mosfet model from LTSpice to matlab.I am using the subcircuit2ssc function to convert LTSpice Netlist to simscape block. Here is the code: subcircuit2ssc('sct3030_t.icr','+mylibraryy'); and the icr file which I got from "SCT3030AL Thermal Model (lib)" on Rohm site is in the attachments.

the error message is: Error using spiceSubckt/getFunctionCalls Function asinh unrecognized. Error in spiceSubckt/loadSubckt Error in spiceSubckt Error in subcircuit2ssc Error in subcircuit2ssc (line 31) subcircuit2ssc(netlist,target); Error in convert (line 1) subcircuit2ssc('sct3030_t.icr','+mylibraryy');

I guess the subcircuitssc function doesn't have asinh support. When I tried typing sinh**(-1) or pow(sinh,-1) instead of asinh, the conversion happened, but this time the simscape block didn't work as I expected.

 Is there any way to solve this problem? 

답변 (3개)

Sivani Pentapati
Sivani Pentapati 2021년 9월 30일
Currently we are not supporting asinh function in mapping SPICE netlist to Simscape blocks. You can refer to the following link to get more information about currently supported functions. I have brought this issue to the notice of the concerned people and it might be considered for a future release.

Fa
Fa 2023년 3월 9일
편집: Fa 2023년 3월 9일
I have been straggling for a while with the migration of MOSFET spice models from our supplier into simscape.
We would like to use MALTAB in a larger scale, but this problem is a major show stopper right now.
Is there any plan to extend the function "subcircuit2ssc" in the near future to cope with such problem?
Is there any contact at Mathworks to reach out to?

Yusaku Takagi
Yusaku Takagi 2023년 4월 17일
asinh(x)=log(x+sqrt(x^2+1)).
It is not the same as 1/sinh(x).
Try using the above definition.

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by