Borrar filtros
Borrar filtros

garbled output on linux

2 visualizaciones (últimos 30 días)
Rafael J.
Rafael J. el 15 de Feb. de 2017
Editada: Rafael J. el 10 de Abr. de 2017
Whenever the command window is full, the text begins to get garbled and you cannot read anything. This also happens when viewing the contents of a variable in the Workspace. The graphics and text gets all distorted and garbled. At the command window, when you type clc, it clears and you can read it again.
I am using openSUSE 42.2 which should be the same as Suse Linux Enterprise Desktop 12, SP2. Kernel version 4.4.46.
I've tried it with MATLAB R2015b and R2016b. PC Specs: Intel Xeon E3-1245 v5, 64 GB RAM, integrated graphics.
  2 comentarios
Hauke Fath
Hauke Fath el 22 de Mzo. de 2017
We see the same issue on Arch Linux, but only in the KDE Plasma environment.
Enabling Matlab's "Preferences::Fonts::Use antialiasing to smooth desktop fonts" seems to help (see also https://bbs.archlinux.org/viewtopic.php?id=203138, post #10).
Rafael J.
Rafael J. el 10 de Abr. de 2017
Thank you, but this did not help.

Iniciar sesión para comentar.

Respuesta aceptada

Felipe Oliveira
Felipe Oliveira el 7 de Abr. de 2017
This same issue occurs on some instalations in Arch Linux. One possible solution, as you can see in Arch Linux Wiki is to open the terminal and set the following environment variables:
export J2D_D3D=false
export MATLAB_JAVA=/usr/lib/jvm/java-XXX-openjdk/jre
where XXX refers to your installed version of OpenJDK.
Note that you'll need to add the above code to your bashrc file in order to avoid losing the settings of the variables after reboot.
  1 comentario
Rafael J.
Rafael J. el 10 de Abr. de 2017
Editada: Rafael J. el 10 de Abr. de 2017
Wow this worked!
Here is the full command I used:
export MATLAB_JAVA=/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by