WriteToVTK

Versione 1.0.0.0 (917 Byte) da Tim
Write 3D matrices to VTK files viewable with Paraview.
4,4K download
Aggiornato 24 mar 2009

Nessuna licenza

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');

Cita come

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

Compatibilità della release di MATLAB
Creato con R2008a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Vector Fields in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0