Add function that creates UI for choosing file
authorLukáš Jiřiště <jiriste@icpf.cas.cz>
Wed, 11 Dec 2024 10:20:16 +0000 (11:20 +0100)
committerLukáš Jiřiště <jiriste@icpf.cas.cz>
Mon, 16 Dec 2024 09:34:53 +0000 (10:34 +0100)
process_file.m [new file with mode: 0644]

diff --git a/process_file.m b/process_file.m
new file mode 100644 (file)
index 0000000..c7ed1d1
--- /dev/null
@@ -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