getData
类: matlab.net.http.io.FileProvider
命名空间: matlab.net.http.io
HTTP 请求消息中要从 FileProvider 发送的下一个数据缓冲区
语法
[data,stop] = getData(provider,length)
输入参数
输出参量
data
— 下一个数据缓冲区
uint8
向量 | 空
下一个数据缓冲区,返回 uint8
向量或者为空。
stop
— 指示是否结束传输
false
(默认) | true
指示是否结束传输,返回提供程序必须设置的逻辑值。如果已到达文件末尾或者已返回 FileSize
字节(以先出现者为准),则 getData
将 stop
设置为 true
。
属性
Access | public |
版本历史记录
在 R2018a 中推出
另请参阅
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)