MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   如何比较Matlab单元格或结构 (https://www.labfans.com/bbs/showthread.php?t=26425)

poster 2019-12-14 20:13

如何比较Matlab单元格或结构
 
[INDENT] [B]可能重复:[/B]
[URL="https://stackoverflow.com/questions/9951828/octave-matlab-how-to-compare-structs-for-equality"]Octave / MATLAB:如何比较结构是否相等?[/URL]

[/INDENT]Matlab单元格或结构对象有简单的比较功能吗?使用'=='似乎不起作用:(



[B]回答:[/B]

如果您想知道两个单元格数组或struct对象是否完全相等,则可以始终使用[URL="http://www.mathworks.com/help/matlab/ref/isequaln.html"]isequaln[/URL] 。



[url=https://stackoverflow.com/questions/5108690]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 20:37

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.