Info

This question is closed. Reopen it to edit or answer.

I want to know how is the'ICodeW​arriorApp.​DefaultPro​ject.Remov​eObjectCod​e(0,1)'wor​ks

1 view (last 30 days)
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

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!