View Single Post
  #4  
Old 06-14-2006, 10:19 AM
Gladsomebeast Gladsomebeast is offline
Member
 
Join Date: Mar 2005
Location: Isla Vizta, CA
Posts: 397
To run a Vizard/Python script from MathLab you should include a line in MathLab that executes the winviz.exe program with the Vizard/Python script you want to run as an argument. If you were executing a Vizard/Python program from the command line it would look like this: c:\winviz.exe myScript.py

To do this in MathLab, you will have to look up how to execute an external program from a MathLab script. I am unfamiliar with MathLab so I don't know how this is done. Probably some function called fork, exec, or spawn.

This assumes that there is no interaction between Vizard/Python and the MathLab code.
__________________
Paul Elliott
WorldViz LLC
Reply With Quote