OSX El Capitan, MATLAB r2015b, Editor focus when run in no-desktop
조회 수: 1 (최근 30일)
이전 댓글 표시
When I run matlab r2015b in the terminal (-no-desktop), then open an editor ('edit'), I can't actually type in the editor after switching between the windows (terminal and editor). The editor windows get the focus, and I can click all the buttons. I can't actually set my cursor position or type though. The current workaround for me is opening a figure window. If I have another matlab window open (figure or preferences, etc.) switching from that window to the editor makes the editor window act as expected. Whenever I switch from the terminal to the editor, however, I get the behavior described above.
댓글 수: 0
답변 (2개)
Vishal Neelagiri
2017년 1월 17일
There are a few things that you can try that seem to resolve the problem:
1) It is possible that some MATLAB preferences are corrupt. You can backup your preferences and let MATLAB create new default preferences to see if they resolve the problem.
If you have had previous releases of MATLAB, backup your preferences for those as well in a similar fashion in order to let MATLAB create default preferences instead of migrating the preferences from a previous release.
To back up your preferences, use the following instructions:
- Locate the preference directory using the PREFDIR command in MATLAB. - Exit MATLAB. - Rename the preference directory by appending something like "bak" to the directory name. For example, "R13bak". - Start MATLAB.
Is the problem still reproducible? If the problem is not resolved, you can restore your preferences using the following instructions:
- Exit MATLAB. - Delete the newly created preference directory. - Rename the backed up directory to the original name. For example, rename "R13bak" to "R13".
2) If your computer is having trouble switching between applications, it is likely that there is insufficient RAM to store all the memory required for the process. Your operating system must then page memory back and forth from virtual memory to RAM, which can be slow. Try increasing your computer's RAM.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!