WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 01-14-2008, 12:01 PM
xingtzu xingtzu is offline
Join Date: Jun 2007
Posts: 5
MATLAB and vizard

Hey folks,

I've been tasked to figure out how to get some of the features of MATLAB working with Vizard. Namely my boss wants me to figure out how to do cone plots, streamtube plots, streamribbon plots, streamline plots, and isosurface plots. If you have a copy of MATLAB you can see the demo he wants me to reproduce by executing the command "demos" then under MATLAB, 3d Visualization click Volume Visualization.

To my question. I'm trying to figure out what the best way to take in these images. MATLAB can export to VRML using it's VR toolbox and I can create an executable with the command I want and pass it arguments using the command line but how would I run that from a Python script. Is there a better way? Can python directly interface with MATLAB using some of it's 3D graphing tools. And most importantly, once I get the 3D model, is it in a format which I can use in Vizard or will it need to be converted/recreated from data points.

Ideally I'm trying to use MATLAB as the back end for speed and familiarity. We are an electrical engineering college and MATLAB is a standard for students entering this project where python is not. If we can make a way for students to use functions from MATLAB or generate python commands from MATLAB scripts than that would be ideal for some of of projects.

Sorry for the long post just wanted to explain the whole situation. Any ideas or comments are appreciated. I was handed a project bigger than I'm certain what to do with, and I'm just hoping for some direction from someone who might have been there/is smarter than me.


Reply With Quote
Old 01-15-2008, 10:25 AM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
There is a Python module that interfaces to MATLAB called PyMat. However the project has not been updated for a while, so it might now work with Python 2.4.

There is also a Python module for scientific computing called NumPy.

Vizard supports VRML 2.0 models, so if MATLAB can export to that format then you should be able to view it in Vizard. Vizard supports many other formats as well, see the website or documentation for a list.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Matlab and Vizard brystewa Vizard 1 09-18-2006 03:11 PM
MATLAB and Vizard eagleman Vizard 4 06-10-2005 11:42 AM
Matlab support exhale Vizard 2 04-14-2005 02:24 AM

All times are GMT -7. The time now is 03:58 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2023, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC