Is there a way to use 2021a editor in 2022a release

3 ビュー (過去 30 日間)
Dmitry Kaplan
Dmitry Kaplan 2022 年 7 月 2 日
コメント済み: Bruno Luong 2022 年 7 月 6 日
For many good reasons I prefer 2021 editor to 2022.
(The reasons are too many to list and are rehashed in other questions. I understand that the new editor is a work in progress and will improve in due course.)
I have both versions installed (2021a and 2022a). Can I tell 2022a to use 2021a's editor? E.g. by changing something in ...\MATLAB\R2022a\toolbox\matlab\codetools\edit.m ?
Thank you.
  1 件のコメント
Bruno Luong
Bruno Luong 2022 年 7 月 2 日
Not a chance you could do it, IMO.
In the same type of complain, I would like to use appdesigner code view in the same window with the regular mfile editor, since debugging while I have to switch window is not convenient.

サインインしてコメントする。

回答 (2 件)

Image Analyst
Image Analyst 2022 年 7 月 2 日
I agree with Bruno. I don't think you can do it. However you can specify another editor, like SlickEdit, in the MATLAB Preferences, but I haven't tried it. I'm doubtful you'll get the debugging tools in the third party editor so you might have to make your changes in your editor, then switch back to MATLAB which will automatically reload the changed file, and then you can start your running and debugging.
Of course the best option would be if MATLAB just let you use a programmers editor key mapping rather than the lame one built into the operating system, like Windows CUA, which might be good for word processing but is terribly inefficient for line-oriented programming. For example in a programmer's editor you can simply type + on the numeric keypad to copy the entire line (not matter where you are in the line or what may or may not be highlighted on the line) into the clipboard. Now with the clunky editor we got you have to put the cursor at some precise location to the left of the line of code (not easy) and then type control-C. Or else do HomeKey, shift-down-arrow, control-c. Very clunky.
I also agree with Bruno that I don't like that the IDEs for MATLAB and App Designer are separate. Maybe it's OK with someone running two monitors but for those of us running a single monitor, thrashing between windows is a pain and the main reason I have not yet switched to App Designer. In App Designer if you want to see for workspace variables, folder panel, or command window, you have to switch over to MATLAB and that's a pain if you're on one monitor. I wish the code, workspace panel, command window panel, and current folder panel could all be on the same IDE, but unfortunately they're not with App Designer.
  5 件のコメント
Michelle Hirsch
Michelle Hirsch 2022 年 7 月 6 日
Just a quick note to others reading this thread that one of our Editor development managers reached out to Dmitry to better understand and try to address the issues. We've made improvements in memory handling in 22a with more coming in 22b (prerelease available now) that should help with Dmitry's issue that the editor seemed to get sluggish as it was open a long time. We're adding control over when the pop-up coding assistants pop up (21b update 4, 22a update 3 - both targeted for later this month, 22b prerelease - out now), which should also help.
Bruno Luong
Bruno Luong 2022 年 7 月 6 日
R2022a Update 3 is out since few weeks now.

サインインしてコメントする。


Shivam Lahoti
Shivam Lahoti 2022 年 7 月 3 日
According to some matlab answers you might not be able to use the editor of 2021a in your 2022a release. But You can maintain different version of matlab, have alook into this matlab answers,
  1 件のコメント
Dmitry Kaplan
Dmitry Kaplan 2022 年 7 月 3 日
I am not sure that the matlab answer you linked is pertinent to my situation, but yes, I just keep two versions of matlab around for this reason.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by