How to set the result output format of the matlab software to be the same as that in the webpage?

1 visualización (últimos 30 días)
the output format of matlab software
the format of this website: How to set the result output format of the matlab software to be the same as that in the webpage?
syms a x b c
solve(a*x^2+b*x+c==0,x)
ans = 

Respuesta aceptada

Walter Roberson
Walter Roberson el 6 de Dic. de 2022
You cannot do that.
The format you see on web pages is only available if you use LiveScript, and is not available from the command line.
  2 comentarios
浩思
浩思 el 7 de Dic. de 2022
Why can't the command line of the software output results in the same format as web pages? Isn't it easier to see the results in a format like a web page?
Walter Roberson
Walter Roberson el 7 de Dic. de 2022
The command line is restricted to outputing text -- at most text with a little bit of HTML1 support. The output is all internally done by fprintf() to ID 1 (typical) or ID 2 (error messages)
The fancy formatting requires graphics output.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Create Model Web Views en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by