Where is the programmable setting corresponding to the Live Editor default view?
조회 수: 8 (최근 30일)
이전 댓글 표시
The settings UI panel for MATLAB -> Editor/Debugger -> Display includes this control:
Where can I find the corresponding programmable setting in the MATLAB settings API? I would expect to see it here, but I don't:
s = settings;
s.matlab.editor.displaysettings
댓글 수: 0
채택된 답변
K.
2025년 2월 24일
We currently do not offer a programmable setting to control the Live Editor default view. However, we will consider adding one in a future release. Could you let us know if you're simply noting this absence, or if you have a specific use case for controlling this setting programmatically? Thanks!
댓글 수: 3
Michelle Hirsch
2025년 2월 24일
Thanks, Steve. I agree strongly with this general approach.
I learned that our one hesitation here is that we have some planned changes to the editors over the next handful of releases that might require us to refactor and otherwise change some of the settings, so there's concern about documenting an API that we know will likely change in a small number of releases. This is a general risk with settings, which are often quite coupled to the UI, and we'd like the UI to be able to evolve without major concern about programmatic compatibility.
Some ideas that could help mitigate this:
- We could document that settings don't have the same level of expected compatbility as other documented interfaces. The use cases for customizing settings may be less sensitive to code compatibility than other code
- We could potentially support aliasing settings so that settings could be renamed, or mapped to other settings
Reactions?
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Graphics Performance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!