How do I get ply file imports using App designer

1 次查看(过去 30 天)
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?

回答(1 个)

dpb
dpb 2023-10-17
编辑:dpb 2023-10-18
% 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?

类别

Help CenterFile Exchange 中查找有关 Data Import and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by