Main Content

tr0Reader

Converts transient analysis simulation results from Synopsys to CSV file or MATLAB table

Since R2023a

Syntax

Description

tr0Reader converts the transient analysis simulation results from the FINESIM and HSPICE Synopsys® simulator to a CSV file or a MATLAB® table, as defined by outputType. Synopsys saves the transient analysis simulation results in a tr0 file. The function only supports binary tr0 files.

If you do not define the location of the tr0 file, the function looks for them in the present working directory.

If you do not define the location of the output file to be saved, the function saves them in the present working directory.

Input Arguments

collapse all

Name-Value Arguments

Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

Example: tr0Reader(tr0Filename='tran.tr0',outputType='mat',outputFileName='tranSim') converts the simulation results contained in the tran.tr0 file to a MATLAB named tranSim.

Name of the tr0 file that contains the simulation results that needs to be converted to a CSV or MAT file, specified as a string.

Data Types: string

Location of the tr0 file that needs to be converted, specified as a string. The default location is the present working directory.

Data Types: string

Type of the output file, specified as either csv or mat.

Data Types: string

Location of the converted output file that needs to be saved, specified as a string. The default location is the present working directory.

Data Types: string

Name of the converted output file, specified as a string.

Data Types: string

Version History

Introduced in R2023a