Main Content

importSParameter

Import S-parameters to current project

Since R2026a

Description

[status,message] = sip.importSParameter(project,sparam,Name=Value) imports one or more S-parameter files specified by sparam to the project project.

Input Arguments

collapse all

Signal Integrity Toolbox project, specified as an object.

Name of the S-parameter file(s) to import, specified as a string for a single S-parameter file or an array of strings for multiple S-parameter files. The S-parameter files are Touchstone files which must exist in the specified path.

Name-Value Arguments

collapse all

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: [s,m] = sip.importSParameter(project,[sparam1,sparam2],'wrapperName'="wrapper") imports sparam1 and sparam2 S-parameter files where the mod file wrapper name is wrapper.

Full or relative path to the S-parameter files to be imported, specified as a string. If you do not provide a path to the S-parameter file, the function uses the present working directory as the default path.

Name of the mod file wrapper when you import multiple S-parameters, specified as a string.

Output Arguments

collapse all

Flag to show the import status of S-parameter files, returned as -1, 0, or 1.

  • -1 — S-parameters are imported with warnings. See message to know more about the warnings during import.

  • 0 — Error occurred during S-parameter import. See message to know more.

  • 1 — S-parameter import is successful.

Warnings and error messages generated during S-parameter import, returned as a 1×3 cell array of strings.

Version History

Introduced in R2026a