Compilation don't work. Why?
显示 更早的评论
Hello.
I couldn't build my project from matlab coder. I had installed microsoft windows sdk 7.1 and i had setup compiler in matlab (mex -setup). When i tried to compile project an error occured: "??? Build error: Build failed for project 'residual_rtw'. See the target build log in the report for further details." When i choose checkbox "Generate code only", MATLAB generated c-code without errors. Please help. I have on my computer: MATLAB R2012b, Microsoft Windows SDK v.7.1.
采纳的回答
更多回答(4 个)
Azzi Abdelmalek
2012-12-24
Try
mbuild -setup
5 个评论
Yuriy
2012-12-24
Azzi Abdelmalek
2012-12-24
are you using deploytool?
Yuriy
2012-12-24
Azzi Abdelmalek
2012-12-24
Maybe the problem is related to your code, try to compile a simple code, for example
w=5
while w>0
w=inputdlg('entrer pulsation')
w= str2num(w{:})
t=0:0.1:10
plot(t,cos(w*t))
end
Image Analyst
2012-12-24
0 个投票
See where it says "See the target build log in the report for further details." What is in that file? Report it back here.
5 个评论
Yuriy
2012-12-25
Image Analyst
2012-12-25
I don't have the coder or rtw toolboxes. Can you compile with the "verbose" option turned on. Maybe with the extra information that "verbose" provides, someone will be able to help you. Otherwise call the Mathworks
Yuriy
2012-12-25
Image Analyst
2012-12-25
Wow - what's all that gibberish?
Yuriy
2012-12-25
Yuriy
2012-12-25
0 个投票
1 个评论
Image Analyst
2012-12-25
I don't need to do that. When Windows needs such permission, it asks me, but for compilation it never asks for that.
类别
在 帮助中心 和 File Exchange 中查找有关 Texas Instruments C2000 Processors 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!