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

3 views (last 30 days)
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 = 

Accepted Answer

Walter Roberson
Walter Roberson on 6 Dec 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 Comments
Walter Roberson
Walter Roberson on 7 Dec 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.

Sign in to comment.

More Answers (0)

Categories

Find more on Help and Support in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!