我的目标是比较两个矩阵:A和B两个不同的文件:
function [Result]=test()
A_Mat= load('fileA', 'A')
B_Mat= load('fileB', 'B')
Result= A_Mat == B_Mat
end
Run Code Online (Sandbox Code Playgroud)
我需要的结果是,包括之间的差异的矩阵A和B.
我的错误是:
error: binary operator '==' not implemented for 'scalar struct' by 'scalar struct' operations
Run Code Online (Sandbox Code Playgroud)