Reads a Sentaurus TDR file and outputs its information as a struct. This script command is only available on Linux.
| Syntax | Description |
|---|---|
| out= tdrinfo (“file_name”); | Returns the information in the TDR file specified by file_name as a struct. The details of the struct is shown below. |
The returned struct from this script command is as follows.
| Syntax | Description |
|---|---|
| FileName | The file name of the TDR file being read. |
| Geometries |
A cell array containing information of geometries stored in the TDR file. Each element is another struct containing information for regions stored in the geometry, which has the following fields:
|
Example
tdr_file_info = tdrinfo("test_file.tdr");
#Show the name of the first geometry
?tdr_file_info.Geometries{1}.Name
#Show the name of the first region in the first geometry
?tdr_file_info.Geometries{1}.Regions{1}.Name
#Show the name of material in the first geometry
?tdr_file_info.Geometries{1}.Regions{1}.Material
Wrapper functions
The Knowledge Base article Synopsys Sentaurus™ interoperability – import from and export to TDR files contains a set of wrapper functions and examples which is a more user-friendly method of using this built-in script command.
See Also
Synopsys Sentaurus™ interoperability – import from and export to TDR files, tdraddregion, tdrwritedataset, tdrimportdataset