ExportMatrixData

 

Use:Exports matrix in Matlab or spreadsheet format.

Command:In the Matrix tab of the Solution dialog box, click Export>RLGC.

Syntax:ExportMatrixData <FileName>, <SolnType>, <DesignVariationKey>, <Solution>, <Matrix>, <ResUnit>, <IndUnit>, <CapUnit>, <CondUnit>, <Frequency>, <MatrixType>, <PassNumber>, <ACPlusDCResistance>

Return Value:none

Parameters:<FileName>

Type: <string>

The path and name of the file where the data will be exported. The file extension determines the file format.

<SolnType>

Type: <string>

One of the following "C", "AC RL" and "DC RL"

<DesignVariationKey>

Type: <string>

Design variation string

Example: "radius = 3mm"

The empty variation string ("") is interpreted to mean the current nominal variation.

<Solution>

<SolveSetup>:<Soln>

Parameters:

<SolveSetup>

Type: <string>

Name of the solve setup

<Soln>

Type: <string>

Name of the solution at a certain adaptive pass.

<Matrix>

Type: <string>

Either "Original" or one of the reduce matrix setup names

<ResUnit>

Type: <string>

Unit used for the resistance value

<IndUnit>

Type: <string>

Unit used for the inductance value

<CapUnit>

Type: <string>

Unit used for the capacitance value

<CondUnit>

Type: <string>

Unit used for the conductance value

<Frequency>

Type: <double>

Frequency in hertz.

<MatrixType>

Type: <String>

Value: "Maxwell", "Spice", "Couple" , (one or all of these).

Matrix type to export.

<PassNumber>

Type: <integer>

Pass number.

<ACPlusDCResistance>

Type: <bool>

Default Value: false

Add DC and AC resistance and export the matrix.

Python Syntax

ExportMatrixData ([FileName, SolnType, DesignVariationKey, Solution, Matrix, ResUnit, IndUnit, CapUnit, CondUnit, Frequency, MatrixType, PassNumber, ACPlusDCResistance])

Python Example

oDesign.ExportMatrixData (["C:/temp/3DScripts/rlgc_lvl.lvl", "C, DC RL, AC RL", "", _ "Setup1:LastAdaptive", "Original", "ohm", "nH", "pF", "mSie", 100000000, _ "Maxwell,Spice,Couple", 0])