02-16-2012 11:02 PM
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
02-20-2012 04:39 PM
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-