Compilation don't work. Why?
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (4)
Azzi Abdelmalek
le 24 Déc 2012
Try
mbuild -setup
5 commentaires
Yuriy
le 24 Déc 2012
Azzi Abdelmalek
le 24 Déc 2012
are you using deploytool?
Yuriy
le 24 Déc 2012
Azzi Abdelmalek
le 24 Déc 2012
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
le 24 Déc 2012
0 votes
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 commentaires
Yuriy
le 25 Déc 2012
Image Analyst
le 25 Déc 2012
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
le 25 Déc 2012
Image Analyst
le 25 Déc 2012
Wow - what's all that gibberish?
Yuriy
le 25 Déc 2012
Yuriy
le 25 Déc 2012
0 votes
1 commentaire
Image Analyst
le 25 Déc 2012
I don't need to do that. When Windows needs such permission, it asks me, but for compilation it never asks for that.
Catégories
En savoir plus sur Texas Instruments C2000 Processors dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!