How to display UTIF-16 characters

Dear Helpers,
Could you please let me know the command I should add in my script to display Chinese caracters?
This is an example of my script:
Order1={'1' 'Non_Switch' 'Ita' 'P' 'CASA'
'2' 'Non_Switch' 'Chi' 'P' '房子'
Thanks!
Kind regards,
Roberto

4 Comments

Where do you need to display these? In the source code? In the command window? As graphics from text() calls? In xlabel and title() and similar? When Interpreter is set to 'none'? When Interpreter is 'Tex'? When Interpreter is set to Latex?
Hi Walter,
I just need to display the string when executing the programme.
This is a psychology task in which people need to read what they see on screen, in this case a Chinese word.
Hope this clarifies.
Thanks.
Roberto
Stephen23
Stephen23 on 9 Oct 2019
Edited: Stephen23 on 9 Oct 2019
"I just need to display the string when executing the programme."
Where do you need to display these?
  1. in the command window?
  2. in some kind of graphics object?
  3. printed in a file?
  4. somewhere else... ?
Hi,
Words are shown only in the middle of the screen surrounded by a rectangle.
Sorry, I am not a programmer, but I attach the code so that you have a better idea.
Thanks.
Kind regards,
Roberto

Sign in to comment.

Answers (1)

For this kind of experiment you should seriously consider using psychtoolbox
http://psychtoolbox.org/docs/Screen-DrawText

Products

Tags

Asked:

on 9 Oct 2019

Answered:

on 9 Oct 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!