取消
显示结果 
搜索替代 
您的意思是: 

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 项奖励
1 条消息(共 7 条)
3,117 次查看

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 项奖励
2 条消息(共 7 条)
3,075 次查看

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 项奖励
3 条消息(共 7 条)
3,070 次查看

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 项奖励
4 条消息(共 7 条)
3,063 次查看

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 项奖励
5 条消息(共 7 条)
3,059 次查看

@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 项奖励
6 条消息(共 7 条)
3,051 次查看

Sadly, I don't even remember what I was trying to do with it five years ago.

David A. Moore, Ph.D.
President
Moore Good Ideas, Inc.
0 项奖励
7 条消息(共 7 条)
447 次查看