Is RF toolbox able to read touchstone v2 (.ts) files ?

조회 수: 13 (최근 30일)
Quenson Damien
Quenson Damien 2015년 12월 4일
댓글: John Wincn 2020년 1월 27일
I want to know what touchstone formats Matlab and RF toolbox can read. Touchstone v1 (.s2p, .s4p, .s8p, ...?) Touchstone v2 (.ts) ?
Thanks ! Damien

채택된 답변

Mark
Mark 2015년 12월 4일
편집: Walter Roberson 2015년 12월 4일
RF Toolbox can read Touchstone v1, e.g.
>> S = sparameters('default.s4p')
If the file doesn't end in .sNp, the sparameters function throws a warning but it still works, e.g.
>> S = sparameters('passive.ts')
Mark
  댓글 수: 1
John Wincn
John Wincn 2020년 1월 27일
It seems R2019a does't like all aspects of *.tx file format:
>> s = sparameters('TX3-RX3_1.5m_2020jan27.ts');
Warning: The extension .ts is unrecognized. Attempting to read the file using the Touchstone format.
> In rf.internal.netparams.AllParameters/readRFFile
In rf.internal.netparams.AllParameters
In rf.internal.netparams.ScatteringParameters
In sparameters (line 80)
Error using rf.file.touchstone.Data/read
The following line of data is inconsistent with Touchstone format:
[Number of Ports] 4
Error in rf.file.touchstone.Data
Error in rf.internal.netparams.AllParameters/readRFFile
Error in rf.internal.netparams.AllParameters
Error in rf.internal.netparams.ScatteringParameters
Error in sparameters (line 80)
obj = obj@rf.internal.netparams.ScatteringParameters(varargin{:});

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with Aerospace Blockset에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by