LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MATLAB reducem function

Is there a way to use the MATLAB reducem function from LabVIEW? I don't see any documentation about it. Maybe it's a data type issue?

David A. Moore, Ph.D.
President
Moore Good Ideas, Inc.
0 Kudos
Message 1 of 6
(1,384 Views)

Hi David,

 

what have you tried so far? Where are you stuck?

 

That being said: MathScript <> MATLAB.

Have you tried the Matlab script node?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(1,342 Views)

I don't have a MATLAB license, so no. I just found the reducem function when looking for how to simplify contours, and there's one other spot in this application where I use a MathScript function to do something.

David A. Moore, Ph.D.
President
Moore Good Ideas, Inc.
0 Kudos
Message 3 of 6
(1,337 Views)

Hi David,

 

MathScript is similar to Matlab syntax, but supports only a limited subset of the whole Matlab command set.

I guess you know that…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(1,330 Views)

It looks like a better strategy will be using a stand alone library for this functionality. I'm going to see if I can get this to work:

 

https://github.com/imshz/simplify-net

David A. Moore, Ph.D.
President
Moore Good Ideas, Inc.
0 Kudos
Message 5 of 6
(1,326 Views)

@DavidAMoore wrote:

It looks like a better strategy will be using a stand alone library for this functionality. I'm going to see if I can get this to work:

 

https://github.com/imshz/simplify-net


 

Don't forget that newer LabVIEW versions also have a python node and there is a python port of this too. (there are also others that do about the same.)

0 Kudos
Message 6 of 6
(1,318 Views)