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 が 1 つ含まれます。
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.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
ヨーロッパ
アジア太平洋地域
最寄りの営業オフィスへのお問い合わせ