from
OpenGL .NET Examples
by Dirk-Jan Kroon
Matlab OpenGL .NET code and examples for R2009a and above
|
| LoadTaoOpenGl.m |
% Add OpenGL TAO Assemblies
functionname='LoadTaoOpenGl.m';
functiondir=which(functionname);
functiondir=functiondir(1:end-length(functionname));
disp('Ignore next 2 warnings (bug in R2009a)');
NET.addAssembly([functiondir '/TaoLight/Tao.OpenGl.dll']);
NET.addAssembly([functiondir '/TaoLight/Tao.Platform.Windows.dll']);
disp('Tao OpenGL .NET assemblies loaded');
% Add paths
addpath([functiondir '/Functions']);
addpath([functiondir '/ExampleData']);
disp('function and example data Path added');
|
|
Contact us at files@mathworks.com