How do I get ply file imports using App designer

2 views (last 30 days)
Dhruv
Dhruv on 17 Oct 2023
Edited: dpb on 18 Oct 2023
The app that I am building requires a ply file to be imported. But, when I click 'all files' on the finder, it still grays out the ply files. How would I allow ply files to be imported into the app?

Answers (1)

dpb
dpb on 17 Oct 2023
Edited: dpb on 18 Oct 2023
% Button pushed function: Button
function ButtonPushed(app, event)
[f,d]=uigetfile('*.ply','Get PLY File');
disp(fullfile(d,f))
end
works just fine here in a minimal app, even if I set hidden attribute on the .ply file I downloaded for the purpose the file is shown in the selection list.
Well, let's see just for grins...no, there's no difference in the behavior if use '*.* for the wildcard pattern.
We'd have to see your actual code to see if could spot anything amiss...
Oh. Which OS/version and MATLAB release?

Categories

Find more on Data Import and Analysis in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!