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.

15 次查看(过去 30 天)
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.

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Data Import and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by