View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Export a Matlab surface to an Avizo© (VSG) compatible surface

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

Be the first to rate this file! 1 Download (last 30 days) File Size: 1.94 KB File ID: #33917 Version: 1.0
image thumbnail

Export a Matlab surface to an Avizo© (VSG) compatible surface



Export a single surface defined by vertices and triangular faces to an Avizo compatible surface

| Watch this File

File Information


 f - triangular faces, n by 3
 v - list of vertices, n by 3
 filename - the filename for exported surface
                 - Default value:
 colourTissue - the colour of the surface, e.g. [1 0 0] for red
                 - Default value: [1 0.8 0.4];
 colourExterior - the colour of the background
                 - Default value: [0.8 0.8 0.8];
 [x, y, z] = ellipsoid(0,0,0,3,4,5,30);
 [f,v,~] = surf2patch(x,y,z,z,'triangles');
 writeAvizoSurf(f,v,'',[1 0 0], [0.8 0.8 0.8]);

 Author: Sheng Yue
 Created: 24 November 2011
 Version: 1.0


This file inspired Export Multiple Matlab Surfaces To A Single Avizo© (Vsg) Compatible Surface.

MATLAB release MATLAB 7.13 (R2011b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us