Info
This question is closed. Reopen it to edit or answer.
I want to know how is the'ICodeWarriorApp.DefaultProject.RemoveObjectCode(0,1)'works
1 view (last 30 days)
Show older comments
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
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!