classdef Electrical_Trace < handle properties(Access=public) file_path end methods(Access=public) function obj = Electrical_Trace(options) arguments(Input) options.file_path = 'C:\Users\magf\Desktop\Desktop\MATLAB-Zeugs\COM Test\Mellitzz\TA_6002_6003_FX_B6_C6_B7_C7_Terminated.s4p' end fn = fieldnames(options); for n = 1:numel(fn) obj.(fn{n}) = options.(fn{n}); end end function [data_out,timing_error] = process(obj, data_in) S = end end end