How to convert a macro model (.mod) to Simscape block?
조회 수: 2 (최근 30일)
이전 댓글 표시
I downloaded a spice model of an op-amp (https://www.st.com/resource/en/hw_model/tsv99x_macromode.zip) 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
댓글 수: 0
답변 (1개)
Amrtanshu Raj
2021년 4월 23일
Hi,
I was able to get the conversion using the command.
subcircuit2ssc('TSV99x_macromode.mod','+mylibrary');
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Choose and Parameterize Blocks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!