Semiconductor Subcircuit generation from LTspice tool
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
José Miguel Sanz Alcaine
el 18 de Jul. de 2023
Comentada: José Miguel Sanz Alcaine
el 12 de Sept. de 2023
Good afternoon,
Trying to incorporate a semiconductor trough out the "ee.spice.semiconductorSubcircuit2lookup" funtion and by using the SPICEtool "LTspice" incorporated in Matlab2023a, the system is unable to find the simulator.
%% Generate lookup table data for three-terminal or 3-terminal devices from SPICE subcircuit
subcircuitFile = [matlabroot '\toolbox\physmod\elec\eedemos\applications\devicecharacteristics\ISC030N10NM6.lib'];
subcircuitName = "ISC030N10NM6_L1";
SPICEPath = "C:\Program Files\LTC\LTspiceXVII\XVIIx64.exe";
SPICETool = "LTspice";
lookuptable = ...
ee.spice.semiconductorSubcircuit2lookup(SPICETool,subcircuitFile, ...
subcircuitName, 'SPICEPath', SPICEPath, 'terminals', [1,2,3], ...
'flagIdsVgs', 0, 'flagIdsVds', 1, 'T', 27);
The error is the following:
Error using ee.internal.spice.lookuptable.generateSemiconductorNetlist
Unable to find LTspice.
Error in ee.internal.spice.lookuptable.subcircuitGeneratelookup
Error in ee.internal.spice.lookuptable.semiconductorSubcircuit2lookup
Error in ee.spice.semiconductorSubcircuit2lookup
Is this a stable funtion to use with LTSpice or is it still ongoing?
Thank you in advance,
José Miguel.
0 comentarios
Respuestas (1)
Keshav
el 28 de Jul. de 2023
‘SPICETool’ is a name-value argument in the ‘ee.spice.semiconductorSubcircuit2lookup’ function. Therefore, in the function call, you need to provide the name before passing the value as 'LTspice'. You can look at the function call below for reference.
lookuptable = ...
ee.spice.semiconductorSubcircuit2lookup(subcircuitFile, ...
subcircuitName,'SPICETool',SPICETool, 'SPICEPath', SPICEPath, 'terminals', [1,2,3], ...
'flagIdsVgs', 0, 'flagIdsVds', 1, 'T', 27);
You can read more about this function in the below MathWorks documentation of ‘ee.spice.semiconductorSubcircuit2lookup’
Ver también
Categorías
Más información sobre Web Services en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!