I want to know how is the'ICodeWarriorApp.DefaultProject.RemoveObjectCode(0,1)'works
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
when I using the function BuildCW I can't step in 'ICodeWarriorApp.DefaultProject.RemoveObjectCode(0,1)';But I want to konw how is it works,thanks! function BuildCW as follows: % Function: BuildCW % Abstract: Opens CodeWarrior. % Opens the specified CodeWarrior project. % Deletes objects. % Builds. % function ICodeWarriorApp = BuildCW(in_qualifiedMCP) % ICodeWarriorApp = BuildCW; ICodeWarriorApp = CreateCWComObject; CloseAll; OpenMCP(in_qualifiedMCP); try ICodeWarriorApp.DefaultProject.RemoveObjectCode(0,1) catch error(['Error using COM connection to remove objects of current project. ' ... 'Verify that CodeWarrior is installed correctly. Verify COM access to CodeWarrior outside of MATLAB.']); end try ICodeWarriorApp.DefaultProject.BuildAndWaitToComplete; catch error(['Error using COM connection to build current project. ' ... 'Verify that CodeWarrior is installed correctly. Verify COM access to CodeWarrior outside of MATLAB.']); end
Réponses (0)
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!