How to read .s2p file as we read .xlsx file in Matlab. I am making a gui and it is having this as its feature.

17 views (last 30 days)
function ReadDefinationButtonPushed(app, event)
file = uigetfile('*.xlsx');
a = readtable(file);
display(a.Parameter)
end
Similarly I want to read .s2p file. Is their any provison to read .s2p file in similar way.

Answers (1)

Benjamin Thompson
Benjamin Thompson on 8 Jun 2022
The RF toolbox seems to have a function rfwrite:
There are a variety of submissions on MATLAB File Exchange, such as this one:

Community Treasure Hunt

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

Start Hunting!

Translated by