WriteToVTK

版本 1.0.0.0 (917 字节) 作者: Tim
Write 3D matrices to VTK files viewable with Paraview.
4.4K 次下载
更新时间 2009/3/24

无许可证

This writes a 3D matrix to a VTK file. An old text-based format is used because it is easy to write to. This may result in very large file sizes.

The matrix is normalised, kind of. Not sure why I did that; it might not be needed. The code is very short so feel free to experiment!

Usage:

WriteToVTK(matrix, filename)

Example:

m = reshape(magic(6), [3 3 4]);
WriteToVTK(m, 'magic.vtk');

引用格式

Tim (2024). WriteToVTK (https://www.mathworks.com/matlabcentral/fileexchange/23416-writetovtk), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2008a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Vector Fields 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0