"Function asinh unrecognized" error when trying to convert LTSpice Netlist to simscape block
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?
Answers (3)
0 votes
0 votes
Categories
Find more on Choose and Parameterize Blocks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!