ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

matlab script

 

Hi 

 

I am developing a hall effect system and need to use matlab's "solve()" function, symbolically. I am using the matlab script node, having not used this function before I am not sure what I am doing wrong.  I get the error 1048, I have looked at the docs related to this error but still can not seem to fix my error. At my school there is no one that teaches labview so I am left to my own to figure out these types of problems.  If anyone would please take a look at my code and see if they can see the error.  I would like to thank everyone in advance for the help and your time.

 

*note - the code inside the matlab node is taken directly from matlab and functions correctly, gives proper values, when called in matlab.

 

 

Jason

Download All
0 Kudos
Message 1 of 2
(2,636 Views)

Jason,

 

Which documents have you referred to? There is a document entitled "Why Does My Script Written in The MathWorks, Inc. MATLAB® Language Syntax Return Error 1048?". Have you taken a look at this one in particular.

 

http://digital.ni.com/public.nsf/allkb/3770DDA4593BF5D6862567D0007A31E6?OpenDocument

 

This document explains that your constant input p should be directed into the script via an input tunnel. Please let me know if you've tried this already.

 

-Nick-

Nick C | Software Project Manager - LabVIEW Real-Time | National Instruments
0 Kudos
Message 2 of 2
(2,603 Views)