How to set the result output format of the matlab software to be the same as that in the webpage?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
浩思
am 6 Dez. 2022
Kommentiert: Walter Roberson
am 7 Dez. 2022
the output format of matlab software
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1222022/image.png)
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)
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 6 Dez. 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 Kommentare
Walter Roberson
am 7 Dez. 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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Create Model Web Views finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!