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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.net assembly

Solved!
Go to solution

I am trying integrate Matlab with LabVIEW through .net assembly as I can easily make LabVIEW executable without installing Matlab in target system. But I am experiencing some issue. Kindly help me resolving this:

net assembly code in LabVIEW.png

In this code, I am experiencing an error which is:

Error.png

 Following is the Matlab Code:

MatlabCode.png

0 Kudos
Message 1 of 3
(728 Views)

Hi Mudit099

Follow this article solution steps to solve the error. 


Regards)

 

0 Kudos
Message 2 of 3
(658 Views)
Solution
Accepted by Mudit099

The error states "too many output arguments" - which is due to the fact that your matlab function has no output arguments at all.

You need to declare it as:

function Q = Changepoint(Curvature)
  Q = [...]
end

 

Message 3 of 3
(645 Views)