select a file in gui
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Margareta Drozdikova
am 26 Dez. 2017
Bearbeitet: KSSV
am 26 Dez. 2017
Hi, In my gui I am using [nazov,cesta] =uigetfile({'*.edf';'*.txt'},'File Selector'); to load file .edf and .txt It works good, but I need to use switch or if, I want one action for file .edf and other action for .txt file. I wrote if nazov=={'*.edf'} disp('edf') else disp('other') end but there is a error Undefined operator '==' for input arguments of type 'cell'.
Error in eeg_spracovanie>menu_signal_disk_Callback (line 560) if nazov=={'*.edf'} thanks for any help
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu EEG/MEG/ECoG finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!