I have a Matlab compiled code with the C++ wrapper. Before Labview can use it, it has to initialize the Matlab Runtime. So I have a VI called 'Matlab Init' to do this, but when I put the init VI into my code, it pops a 'Procedure Entry Point' error, as shown below.
This code contains nested structures and other complicated initialization. I mention this because when I put the 'Matlab init' VI in a simpler VI, shown below, it works fine.
I am totally lost here. What caused the error in the first case? Is it because of some conflicts between the Matlab init and some LabVIEW functions? Does that error tell where it goes wrong? Desperately needs help PLZ.