From e4cff15be984c91aedfe8c8cc5467acecd3814f2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Luk=C3=A1=C5=A1=20Ji=C5=99i=C5=A1t=C4=9B?= Date: Wed, 11 Dec 2024 11:20:16 +0100 Subject: [PATCH] Add function that creates UI for choosing file --- process_file.m | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 process_file.m diff --git a/process_file.m b/process_file.m new file mode 100644 index 0000000..c7ed1d1 --- /dev/null +++ b/process_file.m @@ -0,0 +1,5 @@ +function [p n] = process_file(V_fill_ul, V_cell_ul, Vvz_ul) + [name path] = uigetfile(); + data = importdata([path name]); + [p n] = process_experiment(data(:,1)', data(:,2)'*1e6, V_fill_ul/1e9, V_cell_ul/1e9, Vvz_ul/1e9); +end -- 2.30.2