format template for sdatb and sdatcv

170 views
Skip to first unread message

Ehsan Shokrolahzade

unread,
May 31, 2023, 4:58:38 AM5/31/23
to VNA Tools
Hi, 

I have many sets of previous measurements which are in touchstone snp format and I'm using MATLAB I need the template format to convert all these data to sdatb and sdatcv is there any document or existing code that can help me with that? thanks in advance

Best regards
Ehsan

Michael Wollensack METAS

unread,
Jun 2, 2023, 3:03:24 AM6/2/23
to VNA Tools
Hi,

you could use the following command in MATLAB:

fp = '01419_Att20dB(f-m)_52371_01_01.s2p'
d = LoadSParamData(fp)

fp2 = '01419_Att20dB(f-m)_52371_01_01_Test.sdatb'
SaveSParamData(fp2, d)

This will convert a Touchstone file into a sdatb-file.

The above MATLAB functions are located under:
C:\Users\Public\Documents\Metas.Vna.Tools\Matlab

See as well 

Hope this helps.

Regards
Michael

Laurent GOMES DE OLIVEIRA

unread,
Aug 24, 2026, 3:58:08 AMAug 24
to VNA Tools
Hello, 

     I'm a newbie in use of VNA Tools. 
  The module for script is in Python (VNA Tools v3.0.1) . How to use this Matlab script in VNA Tools, please?

Best regards, 

Laurent

Laurent GOMES DE OLIVEIRA

unread,
Aug 25, 2026, 2:51:29 AMAug 25
to VNA Tools
Hello, that’s fine – I’ve found a solution. 
I created my sdatcv file and then, using the Data Explorer, I saved the file via ‘Save as…’ as an ‘sdadb’ file.

Laurent
Reply all
Reply to author
Forward
0 new messages