LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Matlab node crashes with simple script

Hi,

 

I am using LV 2020 (20.0.1) with a Matlab script node.  The script was working fine, but then I made some minor changes to it and it crashes without warning (Exception: Access violation (0xC0000005) at EIP=0x00007FFD6D6E85DC).  I eliminated all the matlab code, except for a single line which reproducibly causes a crash.  The crash isn't evident when running the VI, but only when the VI front panel window is closed.  If I use the VI as a sub-VI in another project, it will crash if if I don't close the front panel.  In this example, the matlab code simply creates a random array of values from 0 - 1 and outputs the result.  You can also cause a similar crash by manually entering values into the array (e.g. Xp = [2.1260, 1.2090, 8.3160, 4.4300, 2.9260]) will cause it to crash.  This is really really frustrating!  Basically, it makes the Matlab node completely useless.  Matlab version is 9.8.0.1451342 (R2020a) Update 5.  

0 Kudos
Message 1 of 1
(854 Views)