Arabic Text Messages in Matlab

When I display a message dialog, such as a warning dialog or a help dialog, using Arabic text as a message that it does not display properly.

<strong> Examples:


English:

helpdlg('Hello World !!'); 

Hello world message


Arab:

 helpdlg('أهلا أيها العالم'); 

Ahlan message


My thoughts concern this character encoding problem, I really don't know for sure!

I tried using a different font, for example:

 text(0.6,0.5,'أهلا و سهلا','fontname','david','rotation',180,'fontsize',50,'color','r'); text(0.6,0.5,'أهلا و سهلا','fontname','arial','rotation',180,'fontsize',50,'color','r'); text(0.6,0.5,'أهلا و سهلا','fontname','Arabic Typesetting','rotation',0,'fontsize',50,'color','r'); text(0.6,0.5,'أهلا و سهلا','fontname','Courier','rotation',0,'fontsize',50,'color','r'); 

And the problem has not yet been resolved.

The question is . How are Matlab dialog messages displayed in Arabic ?

+8
matlab character-encoding dialog arabic
source share
1 answer

The solution is to change local machine numbers and formats to Arabic [Guide]

then restart Matlab, and Arabic will be supported in the graphical interface, in the command window, in the workspace, etc.

Only the dialogues still do not support the Arabic language.

enter image description here

+3
source share

All Articles