In AppDesigner, how to input a CSV file using a checkbox?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Scotty Mac
il 7 Lug 2023
Commentato: Scotty Mac
il 10 Lug 2023
I would like add a checkbox to my App Designer GUI, so that when checked, it opens a file explorer field (similar to a load button) and imports a selected CSV file.
So ulimately, when I hit 'calculate' on my GUI, if the checkbox is selected, use the imported CSV in my calculations, otherwise when not selected, it doesn't use the CSV data. Basically an 'Include a CSV datafile in calcultions' checkbox...
What is the best way to accomplish what I am trying to do?
Do I need to import that CSV data to a variable to store it, then check if the checkbox is selected before calculating?
Thanks in advance.
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Whos in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!