I encounter a problem when I try to change the matlab code into c code using matlab2015b coder. It is“Build error: Compilation returned error status code 2. See the Target Build Log in the report for further details.”can anybody help me have a look?
古いコメントを表示
the next is my tested file.Besides,my compliler is: Microsoft Visual C++ 2013 Professional (C).
(1)function file:min_max.m
function [a,b] = min_max(m,n)
temp = m+n;
a = max(max(temp));
b = min(min(temp));
end
(2)script file:test.m
M1 = rand(4,4);
M2 = rand(4,4);
[a,b] = min_max(M1,M2);
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で MATLAB Coder についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!