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!
No products are associated with this question.
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.
It is only affecting the matlab main processing window. If i search anything in matlab, then it works well. All other softwares like Microsfot Words are working well.
Thanks dear Simon. The code which you sent worked. I just pasted it there and 'Enter' and everything became normal.I am very thankful to you. What do you think the reason behind it? Font file damaged?
Play games and win prizes!Learn more