From: Lukáš Jiřiště Date: Wed, 11 Dec 2024 10:20:16 +0000 (+0100) Subject: Add function that creates UI for choosing file X-Git-Url: https://git.ljiriste.work/?a=commitdiff_plain;h=e4cff15be984c91aedfe8c8cc5467acecd3814f2;p=analyse_servo.git Add function that creates UI for choosing file --- 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