How do I fix this error "Could not commit changes: copy failed: fl:filesystem:SystemError:" please?
显示 更早的评论
When I try to compile and generate a simple typical mex(or lib,dll,exe) function on an ubuntu system, I get the following error, when the mex file can be generated and run normally, but I don't know what causes the error,the report didn't come out either ,how can i fix it? your answer would be greatly appreciate.(Run R2022b, ubuntu20.04)
myadd.m
function c = myadd(a,b)%#codegen
c = a+b;
end
command line:
a=1;
b=2;
codegen -config:mex myadd -args {a,b} -report
Could not commit changes: copy failed: fl:filesystem:SystemError:
/tmp/.fa30-a34f-2ae0-0e8e.tmp Invalid cross-device link
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!