s-function with OpenGL
3 views (last 30 days)
Show older comments
Hello!
I have decided to try to use OpenGL for visualization, have followed an example from the textbook (for this purpose it is not required any additional installation). Source file of the exemple http://depositfiles.com/files/6wju89zqr This example doesn't work for all or only at me? I use mex -g test_vis.cpp user32.lib gdi32.lib glu32.lib opengl32.lib
But I have the error "Matlab.....must be closed", when I try to paste the name of mex-file in the s-function block in Simulink.
0 Comments
Accepted Answer
Jan Houska
on 29 Apr 2011
You may want to try the Simulink 3D Animation product. It can save you from low-level tasks like this. There is a demo version of this product included with Simulink, so you should be able to try it right away.
More Answers (0)
See Also
Categories
Find more on Block and Blockset Authoring in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!