How to upload mat files in Matlab App Designer?
2 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I have to upload some mat files in Matlab App designer. The code in matlab for uploading is:
location = 'Name of the location';
testData = imageDatastore(location, 'FileExtensions', '.mat', 'IncludeSubfolders',true, ...
'LabelSource','foldernames')
testData.ReadFcn = @readFcn1
How do I write this in Matlab App Designer?
Thank you
2 件のコメント
Adam
2019 年 10 月 7 日
You can write code exactly the same in app designer as you can anywhere else. What you want to do with it obviously determines exactly how you hook it up, but to load a mat file in app designer is no different to doing it in a regular function.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Develop Apps Using App Designer についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!