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

Réponses (0)

Cette question est clôturée.

Question posée :

man
le 12 Août 2013

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by