Code covered by the BSD License  

Highlights from
OpenGL .NET Examples

image thumbnail
from OpenGL .NET Examples by Dirk-Jan Kroon
Matlab OpenGL .NET code and examples for R2009a and above

example_Matlab_Figure.m
% This example will show a cube in a normal Matlab axes. This is done by 
% starting an invisible form with on which OpenGL is initialized. Instead
% of rendering to that Window, the cube is rendere to a framebuffer-texture
% which is read into a Matlab variable, and shown with imshow.

% Load Tao Light assemblies and add function path
LoadTaoOpenGl;

% Create the Matlab Window
OpenGL_Matlab_Figure('Matlab_Figure_Painters');

Contact us at files@mathworks.com