How to fix the wrong input prompt in the main processing window of matlab?
2 views (last 30 days)
Show older comments
Everything was ok. But suddenly it stuck and i again opened it. But input prompt was showing ";;" instead of ">>" and when i typed 'j' is displayed it as 'g'. When I typed 'g', it displayed it as 'd'. Same problem with every letter. How to fix it? I already restarted computer and also reinstalled matlab2012b but problem still exists.
Kindly help me!
Regards,
1 Comment
Accepted Answer
Jan
on 19 Sep 2013
Edited: Jan
on 19 Sep 2013
Please try to change the display font. I know this can be hard when you cannot read displayed messages. Perhaps this helps:
matchClass = 'javax.swing.JTextArea$AccessibleJTextArea';
cmdWinDoc = com.mathworks.mde.cmdwin.CmdWinDocument.getInstance;
cmdWinListener = cmdWinDoc.getDocumentListeners;
for iL = 1:length(cmdWinListener)
if isa(cmdWinListener(iL), matchClass)
jTextArea = cmdWinListener(iL);
break;
end
end
Data = java.awt.Font('Arial', java.awt.Font.PLAIN, 14);
jTextArea.setFont(Data);
Or use other fonts instead of Arial.
If this works, the font file is damaged. Then the problem should appear also in a text editor, when the specific font is selected. And re-installing Matlab cannot solve the problem. But I never have heard of such a problem and it is not trivial do destroy a font file such, that it is only re-ordered and not damaged completely. Therefore other reasons are more likely.
More Answers (2)
See Also
Categories
Find more on Startup and Shutdown 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!