From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-05-2007 03:29 PM
09-06-2007 11:41 AM
09-06-2007 12:56 PM
09-06-2007 12:57 PM
09-08-2007 01:58 AM
12-23-2012 06:36 PM
I have similar problem. Same code, exactly the same code gives different results in matlab script of labview and on matlab alone. Also sometimes the same script works and sometimes gives error. Is there any way to make results more reliable?
12-23-2012 07:31 PM
... you just added to a 5 year old thread. When you say "same code", do you mean the same code as in the 5 year old thread above or some completely unrelated code which is the same in matlab and matlab script.
What is your LabVIEW version? What is your matlab version? How often is "sometimes"?
Can you attach an example that shows the problem? DId you try some of the suggestions mentioned above?
12-23-2012 08:21 PM
Labview 8.5
Matlab R2009b
Attached are the graphs produced by matlab script in labview and in matlab.
The minimum of graph produced by matlab code is below 1 and that in labview is above 1.
Thanks a lot for your reply.
Sorry, I haven't quantified the "sometimes" yet.
12-23-2012 11:33 PM
It looks to me like you have the same picture, except that the results seem to be mirrored about the line Y=X. (the 45deg line).
You should check your code again and make sure it truly matches and you didn't flip your indices.
12-23-2012 11:52 PM
I agree, the 2D array seems transposed, while the axis assignment (offset,increment) are not transposed. You did not show any code, but that graph is formed most lkely ouside the matlab node. We need to see some code.