These Matlab routines include examples and Matlab functions to render brain surfaces reconstructed by FreeSurfer. A user can use all interactive tools in the Matlab to manipulate the view.
Codes and example
These codes define how to render brain structure and functional overlay. Some controls over the display, such as changing the psedo-color range, setting the time instant when spatiotemporal data are available. and smoothing the overlay values, are provided.
You may try render_example_dec2014.m to show the spatial distribution of the estimated primary visual cortex activity overlaid on an inflated left hemisphere.