App inside app question
1 回表示 (過去 30 日間)
古いコメントを表示
Hello MATLAB community!
I am an undergraduate new to MATLAB, and I am trying to build an app inside MATLAB to collect/analyze data for a neuroscience research project.
Is it possible to build an app (or in my case, four apps) within a "mother" app? I tried creating one app but it was ridiculously slow to load an image. I hope linking different apps will make this process much quicker.
If this is possible, how do I go about connecting the apps? Thanks so much!
2 件のコメント
Geoff Hayes
2020 年 6 月 3 日
Lucia - please discuss how you are creating your GUIs. Are you programmatically creating the GUI, or are you using either App Designer or GUIDE? Also, show your code on how you are loading the image. What does "slow" mean? How large is the image? Are you doing any sort of analysis on the image before you display it? (I don't see how having four apps will make the process go quicker...)
採用された回答
J. Alex Lee
2020 年 6 月 7 日
If not more than 1 image needs to be displayed at once, maybe just save all the image data internally, have only one axes, and have your arrow key presses just draw the appropriate image on the axes
400kb image is not huge, but of course if the source is compressed, it could still be a lot of pixels, which could be slowing you down..if you don't need the displayed image to be full resolution, maybe downsample and store as a "thumbnail" for display purposes?
Not really "app-in-app", but have you explored the use of "tabgroup"?
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!