MATLAB 도움말 센터
클래스: matlab.net.http.LogRecord 네임스페이스: matlab.net.http
사람이 읽을 수 있는 형식으로 LogRecords 벡터를 표시하거나 반환
show(records)
show(records,maxlength)
strs = show(___)
show(records)는 records 배열의 전체 내용을 표시합니다.
records
show(records,maxlength)는 메시지 본문의 maxlength개 문자를 표시합니다. 메시지 본문에 maxlength개 미만의 문자가 포함된 경우 이 메서드는 전체 메시지 본문을 표시합니다.
maxlength
예제
strs = show(___)는 출력값을 화면에 표시하는 대신 string형으로 반환하며, 위에 열거한 구문에 있는 어떤 입력 인수도 포함할 수 있습니다. strs는 records에 포함된 각 LogRecord 객체별로 하나의 string형을 포함합니다.
strs
LogRecord
모두 확장
matlab.net.http.LogRecord
로그 레코드로, matlab.net.http.LogRecord 객체로 구성된 배열로 지정됩니다.
변환할 바이트 수로, 정수로 지정됩니다.
mathworks.com
import matlab.net.* import matlab.net.http.* import matlab.net.http.field.* r = RequestMessage; uri = URI('https://www.mathworks.com') [resp,~,hist] = r.send(uri); show(hist(end),100)
REQUEST 1 to https://www.mathworks.com/?requestedDomain=www.mathworks.com at 29-Apr-2016 09:30:35 - 29-Apr-2016 09:30:35 (0.132 sec): Done GET /?requestedDomain=www.mathworks.com HTTP/1.1 Cookie: Bjava-apache-all-ah=2831032236.0.0000; X_MW_DOMAIN=www.mathworks.com; JSESSIONID=236bd3c6939d903ca917331c1b60 User-Agent: MATLAB/9.0.0.379006 (R2016b) Date: Fri, 29 Apr 2016 13:30:33 GMT Connection: Close Host: www.mathworks.com RESPONSE 1 at 29-Apr-2016 09:30:35 - 29-Apr-2016 09:30:36 (0.141 sec) HTTP/1.1 200 OK Date: Fri, 29 Apr 2016 13:30:35 GMT Server: MathworksServer_08 X-Powered-By: Servlet/3.0 JSP/2.2 (MathworksServer_08 Java/Oracle Corporation/1.7) Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Expires: Sun, 26 Apr 2015 11:56:16 GMT Content-Type: text/html;charset=utf-8 Via: 1.1 www.mathworks.com Vary: Accept-Encoding Transfer-Encoding: chunked Connection: close <!DOCTYPE HTML> <html> <head> <title>MathWorks - Makers of MATLAB and Simulink</title> <meta char << 46590 total characters of text/html UTF-8 data >>
표시되는 정보는 시스템에 따라 다릅니다.
R2016b에 개발됨
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
유럽
아시아 태평양
지역별 지사에 문의