WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-12-2012, 11:15 PM
suraj suraj is offline
Member
 
Join Date: Jul 2012
Posts: 5
Question Iinterface between MATLAB and Vizard

I am new while working with vizard. but i have experience in working with matlab.

In my application i want to interface output generated by matlab with the vizard environment. Precisely, i want to access physiological signal such as heart rate in and process that in matlab to generate an output. e.g. , if the heart beat rate is above 85 bpm i want to generate an output of one(1) then i want to get this digit one(1) in vizard environment which will initiate a sequence of activity in vizard environment.

I have gone through the conversation threads on the vizard forum but they do not answer my question.

Maybe pymat can be used. i will use win32 system with latest version of vizard "lite version". can someone please show me a way or show your experience while using pymat or any other plug-ins.

Thanks,
Suraj
Reply With Quote
  #2  
Old 07-16-2012, 01:47 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,455
If you can send data from matlab over the network than you can get this data using Vizard's networking commands.
Reply With Quote
  #3  
Old 07-16-2012, 12:25 PM
suraj suraj is offline
Member
 
Join Date: Jul 2012
Posts: 5
This is really a good advice. Thank you for the reply.

1.What if i want to use same system(laptop) for matlab and vizard.

2.And If i use "C" drive for matlab and "D" drive for vizard will this help for speed performance of the system?

Thank you in advance!
Reply With Quote
  #4  
Old 07-17-2012, 02:54 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,455
1. That should be fine. You can send/receive data to another application on the same machine. When you create the network connection specify 'localhost'.

2. I don't think so.
Reply With Quote
  #5  
Old 07-17-2012, 03:43 AM
suraj suraj is offline
Member
 
Join Date: Jul 2012
Posts: 5
Thanks!
One more thing,I found that "Pymat" can be used to interface between matlab and Python and because vizard is based Python so is this fine?

I have installed python3.2.3 and Numpy3.2 and i havd matlab 2009ra installed as this site "http://pymat.sourceforge.net/" says but could not install Pymat (could not follow the step 5 and 6 of "How do I build it?"). i also tried to download Pymat from site"http://claymore.engineer.gvsu.edu/~steriana/Python/" but got it's 2.2 version which is not supported in Python3.2 ver.I downloaded Pymat form other site in which it has "setup.py" i don't know how to get it worked.
I want to know how to install Pymat for the "Python win32 version 3.2.3". I tried the given example from"http://claymore.engineer.gvsu.edu/~steriana/Python/pymat.html" but did not worked.

Sorry for the long reply.

Thanks,
Suraj

Last edited by suraj; 07-17-2012 at 03:48 AM.
Reply With Quote
  #6  
Old 07-17-2012, 05:07 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,455
Vizard 4 uses Python 2.7 so it won't work with PyMat.
Reply With Quote
  #7  
Old 07-17-2012, 08:03 AM
suraj suraj is offline
Member
 
Join Date: Jul 2012
Posts: 5
will the Python 2.2 work? Because i have Pymat 2.2 so i can install Python 2.2.
Reply With Quote
  #8  
Old 07-17-2012, 09:02 AM
suraj suraj is offline
Member
 
Join Date: Jul 2012
Posts: 5
Can i use Python 2.2 with vizard? If so to use Pymat i need Python2.2, Numpy 2.2 and Pymat 2.2, means all of same version. I have Python 2.2 and Pymat 2.2 but i did not get Numpy for Python 2.2 to use.Pymat 2.2 is the latest one which i got. can you help me to use Pymat with any version of matlab?
Reply With Quote
Reply

Tags
matlab, vizard 4

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
integrating brain-imaging response buttons with Vizard hrm Vizard 1 05-04-2012 06:24 AM
Incoming floating point values Rachel Vizard 1 02-12-2008 03:09 PM
MATLAB and vizard xingtzu Vizard 1 01-15-2008 10:25 AM
Matlab and Vizard brystewa Vizard 1 09-18-2006 03:11 PM
MATLAB and Vizard eagleman Vizard 4 06-10-2005 11:42 AM


All times are GMT -7. The time now is 09:31 AM.


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