MATLAB ヘルプ センター
Close WDS connection
close(c)
close(c) closes the Wind Data Feed Services (WDS) connection.
c
example
collapse all
Using a WDS connection, retrieve current data for a single security and display the data. Then close the connection.
Create a WDS connection.
c = wind;
Format output data for currency.
format bank
Using the 0001.HK security, retrieve the current high and low prices.
0001.HK
s = '0001.HK'; f = ["high","low"]; d = getdata(c,s,f)
d=1×2 table HIGH LOW _____ _____ 0001.HK 99.50 98.00
d is a table with one row for the single security. Each variable in the table corresponds to each specified field.
d
Close the WDS connection.
WDS connection, specified as a connection object created with the wind function.
wind
Introduced in R2018a
wind | getdata | history | timeseries | realtime | createorder
getdata
history
timeseries
realtime
createorder
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 のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
ヨーロッパ
アジア太平洋地域
最寄りの営業オフィスへのお問い合わせ