필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
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 = 

채택된 답변

Walter Roberson
Walter Roberson 2022년 12월 6일
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
浩思
浩思 2022년 12월 7일
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 2022년 12월 7일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Create Model Web Views에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by