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

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)

This question is closed.

Asked:

man
on 12 Aug 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!