LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Matlab Script in LV 8.0 for 'SIM Command'

Dear all
 
I have problem using Matlab Script in LabVIEW 8.0 for 'SIM(Model, Final Time)' command.
 
1. Does Matlab Script Server supports all the functions in Matlab 7.0.1?  I runned 'SIM(Model, Final Time)' on the LabVIEW Script, but no results obtained. It is supposed to get a figure output there.
 
2. If I run some function in Matlab Script with input parameters. Do I have to set these parameters in Matlab Script of LabVIEW as 'Input' or I can set them in Matlab Workspace first then apply them directly. Since some of my parameters are classified as structure class. They won't allow me to use them in Script as 'Input'.
 
Thanks for your help!
0 Kudos
Message 1 of 2
(2,964 Views)

Good morning,

 

Thank you for posting.  I believe that you are using the MathScript node, but I am a little uncertain:

 

 

If you are using Mathscript, you do not need to do anything with any ‘server’, but the particular function you request may not be implemented.  Which type of node are you using?  If you are using Mathscript, and the function is not implemented, feel free to request it – we are happy to consider implementing it for a future version of LabVIEW.  If you are using the MATLAB Script Node, I suspect the problem is with the way the node is setup, or with the ActiveX server.

 

Again, thanks for posting-

Message Edited by Travis M. on 07-18-2006 10:37 AM

Travis M
LabVIEW R&D
National Instruments
0 Kudos
Message 2 of 2
(2,953 Views)