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_DotNet_Control.m
% This example shows an Matlab Figure / GUI with a panel on which a .NET Form floats.
% The .NET for, will stay on the position of the frame if you move te window.
% This allows the usage of .NET controls like they where activex controls.

% Start a GUI
fig_handle=dotnet_control_example;

% Get the handle to the panel in te figure.
handles=guidata(fig_handle);
dotnet_control(handles.uipanel1)

Contact us at files@mathworks.com