How can i open a file in app designer
Mostrar comentarios más antiguos
i have in my desktop a file inside this file there is 2 files and inside each one another files, i want to use appdesigner to open the first folder and give me the right to open the other file, and in case i didn’t found a file , app designer should give me the right to create a new one based on a template that i have.
Respuestas (4)
Sai Gudlur
el 11 de Jun. de 2020
0 votos
Are you using a radio button?
If you are u can use this code when u click on the button.
[filename,pathname] = uigetfile('*.')% add ur extension post period within parathesis.
fullfilename = fullfile(pathname,filename);
A = xlsread(fullfilename); % if it is a excel file. else use whatever it is.
Your question is pretty vague. if you give more info I might be of some help.
1 comentario
farzad
el 18 de Nov. de 2020
What if I use a push button
Rida BOUMEDIANE
el 11 de Jun. de 2020
0 votos
Rida BOUMEDIANE
el 11 de Jun. de 2020
0 votos
Rida BOUMEDIANE
el 11 de Jun. de 2020
0 votos
1 comentario
Sai Gudlur
el 11 de Jun. de 2020
Try using cellfun.
Example:
x = {1,[],[],[]};
find(~cellfun(@isempty,x))
Categorías
Más información sobre MATLAB Parallel Server en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

