Passing a matrix between App Designer Apps
古いコメントを表示
Hello Everyone,
I am quite new to both Matlab and the App Designer. For context, I'm building a data cleanup tool. Currently I have a script that runs a few different commands (sorting data, plotting, outlier deletion, etc.). My goal is to create an app that breaks these functions up into user friendly steps with some customization options. In order to do this I'll need to be able to pass data back and forth between app screens, which is where I'm running into trouble. The type of data I am concerned with is columns of numbers saved as a matrix.
My problem is that I cannot seem to get things set up correctly to pass a matrix between two apps. I have been able to pass text from input fields between apps (such as is seen here https://www.youtube.com/watch?v=u0jgIWAxf0Y), but passing a matrix of data continues to elude me. My main approach has been to follow these steps here, but to no avail: https://www.mathworks.com/help/matlab/creating_guis/creating-multiwindow-apps-in-app-designer.html.
I have attached two sample apps, "main" and "dialog". For the purposes of this post, these two apps are a version of what I'm trying to do in a simplified form. Essentially, the main app will calculate x and display x in a table. "Pass Data to Dialog and Open Dialog" should (theoretically) do as its name suggests. Once the dialog app opens, the "View Data from Main" should populate a table in the dialog app with the matrix "x" calculated in the main app.
Any suggestions would be greatly appreciated! Once I am able to pass matrices between apps I can begin to scale this up for use with my data cleanup script.
Many Thanks!
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および 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!