PDA

View Full Version : Matlab support


exhale
04-13-2005, 07:10 AM
Hello,

I was wondering, is there any kind of
support voor matlab in vizard?
(i searched the website and internet
but couldnt find anything about it,
or maybe i looked over it)

thanks in advance,

Kevin

tobin
04-13-2005, 10:46 AM
Could you be more specific about what you mean by matlab support? It would certainly be possible to write create MEX files that fires up Vizard worlds, and I would expect even accept back data from Vizard.

Most users end up using one of the many Python based matlab interfaces. As you may or may not know, Vizard fully incorporates Python 2.3 and therefore you can leverage virtually any Python based toolkit.

There are two classes of matlab Python tools that we're aware of. The first is matlab look-a-like toolkits that bring in much of matlab's functionality by extending Python. These include NumArray, NumPy, and Numeric. Just search on Python's website for these. There's also PIL (Python Imagining Library) which adds great image processing and plotting support, again much in the style of matlab.

To interface between Python and matlab, there are many such libraries. One of these is PyMat.

I hope this helps. The current release of Vizard doesn't set up the proper Python standard registry which causes modern Python installer packages to bomb out. To correct this, see the following discussion thread (toward the end) for a script you can run that will then enable Python installer modules to use the Vizard path.

http://www.worldviz.com/forum/showthread.php3?s=&threadid=302&highlight=python+installer

Please don't hesitate to contact us again if you have any difficulties.

exhale
04-14-2005, 02:24 AM
hello,

thank you for your reply.
This should give us the necessary
functionality

greetz,

Kevin