How to convert a macro model (.mod) to Simscape block?

3 visualizaciones (últimos 30 días)
William Mercier
William Mercier el 27 de En. de 2021
Respondida: Amrtanshu Raj el 23 de Abr. de 2021
I downloaded a spice model of an op-amp ( and I am trying to convert it to a simscape block using "subcircuit2ssc" function (using Matlab R2020b) but I am getting the error "Unable to resolve the name...".
Since this function's documentation does not include the .mod extension, I tried converting a spice model with a supported extension (.subckt) but I had the same error.
Can anyone offer some insight please?
P.S: the error doesn't seem related to the path

Respuestas (1)

Amrtanshu Raj
Amrtanshu Raj el 23 de Abr. de 2021
I was able to get the conversion using the command.
You can refer to this documentation to make changes to the generated file as per your need.




Community Treasure Hunt

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

Start Hunting!

Translated by