Al momento, stai seguendo questo contributo
- Vedrai gli aggiornamenti nel tuo feed del contenuto seguito
- Potresti ricevere delle email a seconda delle tue preferenze per le comunicazioni
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 (2026). WriteToVTK (https://it.mathworks.com/matlabcentral/fileexchange/23416-writetovtk), MATLAB Central File Exchange. Recuperato .
Riconoscimenti
Ispirato: Write 2D and 3D Arrays into VTK, Write Cell Array of Structs into a VTK Structured Grid
Informazioni generali
- Versione 1.0.0.0 (917 Byte)
-
Nessuna licenza
Compatibilità della release di MATLAB
- Compatibile con qualsiasi release
Compatibilità della piattaforma
- Windows
- macOS
- Linux
| Versione | Pubblicato | Note della release | Action |
|---|---|---|---|
| 1.0.0.0 |
