Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 68906

Using array as a MATLAB script input in a subVI - labview crashes

$
0
0

Hello

 

I am having troubles in creating a subVI that includes a matlab file which has an array as an input.

 

I have created a VI, that executes a simple matlab script, having an array as an input and an array as an output. This worked fine, untill i assigned the terminals in order to use it as a subVI.

After the terminals have been assigned, labview instantly crashes when running the file.

I also created a VI to test the subVI, but I couldn't get it to work at all, labview always crashed...

Does anyone know a solution to my problem? They only thing i can think of is to not use it as a subVI, but then my main file will get huge, as all the matlab code would be included in there...

 

attached are both files, so that you better understand my problem. (test_... is the main file)

 

any help will be greatly appreciated!

 

- Jarno

 

edit: I'm using labview 2013 with windows 7 and matlab 2014


Viewing all articles
Browse latest Browse all 68906

Trending Articles