I am tring to continue matlab script execution after polyspacecodeprover function showing error in matlab window. but matlab close script execution .
Afficher commentaires plus anciens
I want to continue matlab script execution after polyspacecodeprover function fail for that I tried with try-catch condition, but when polyspace function fails, directly script execution will stop.
can any commands available in polyspacecodeprover function for return in matlab?
mycode ->
function return = polyspace()
try
polyspaceCodeProver('-sources',sourceFileName,...
'-I',includeFileName, ...
'-results-dir',resFolder2,...
'-misra3','mandatory',...
'-do-not-generate-results-for','all-headers',...
'-main-generator');
return = 1
catch
return = 0
end
end
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Specify Code Behavior dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!