How can I split the editor window in Appdesigner?

23 ビュー (過去 30 日間)
Devin Crawford
Devin Crawford 2017 年 10 月 3 日
コメント済み: Dave 2019 年 6 月 18 日
When working on a GUI in Appdesigner I have not been able figure out how to split my editor window into multiple windows. I find it very useful to view code in several parts of the Class while editing/debugging. This feature is straight-forward in the standard Matlab editor. Could someone please advise if this is possible?
  1 件のコメント
Dave 2019 年 6 月 18 日
I hope Mathworks has a multi-window code viewer for AppDesigner on their near-term roadmap.
The UIs I have developed tend to be complex, with many thousands of lines of code. I resisted moving to AppDesigner until it looked plausibly mature enough to encompass the functionality I needed - I made my first attempt a week ago. Overall I am quite happy with what I see, but a major omission seems to be a way to efficiently navigate large files.
In the standard Matlab editor, I used bookmarks and split windows to navigate my code: either or both would be a welcome addition in AppDesigner.


回答 (1 件)

Jim Joy
Jim Joy 2017 年 10 月 5 日
Hi Devin,
Unfortunately, this capability is currently not available in App Designer.
One workaround that you may consider is copying and pasting your basic App code from the App Designer editor into a MATLAB file, and editing this file in the MATLAB Editor. I understand that there are certainly limitations here, and that this workflow is only likely to be helpful if you do not have many iterations of redesigning the core components of your app. However, if you can use App Designer to create a template for your code, it may be a viable option.
Best Regards,
  1 件のコメント
Devin Crawford
Devin Crawford 2017 年 10 月 5 日
Thanks for the quick response. In fact I went down the path of designing an app using the classic matlab editor but ran into difficulties when I wanted to change the layout and went back to the Appdesigner.



Find more on Migrate GUIDE Apps 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!

Translated by