OSX El Capitan, MATLAB r2015b, Editor focus when run in no-desktop
2 次查看(过去 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 中查找有关 Environment and Settings 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!