netcdf.getChunkCache
返回 netCDF 库的默认块缓存设置
说明
示例
确定块缓存大小信息
确定有关 netCDF 库所使用的块缓存大小的信息。
[csize, nelems, premp] = netcdf.getChunkCache();
输出参量
csize
— 块缓存的大小
正整数标量
原始数据块缓存的总大小(以字节为单位),以正整数标量形式返回。
数据类型: double
nelems
— 要保留在缓存中的元素数
正整数标量
要保留在原始块数据缓存中的元素数,以正整数标量形式返回。
数据类型: double
premp
— 抢占完全读取的块
范围 [0, 1] 内的值
抢占由库处理的块缓存中完全读取的块,以 0 到 1 之间的标量值形式返回。0 值表示将完全读取的块视同于其他块,即:优先只是基于最近最少使用 (LRU) 算法。值为 1 表示完全读取的块始终优先于其他块。
数据类型: double
提示
此函数对应于 netCDF 库 C API 中的
nc_get_chunk_cache
函数。
版本历史记录
在 R2011b 中推出
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)