Highlights from
Embedded Coder Support Package for Green Hills MULTI IDE (R2012b)

image thumbnail

Embedded Coder Support Package for Green Hills MULTI IDE (R2012b)



Embedded Coder integration for creating models that run directly in Green Hills MULTI IDE

function ret = multilinktgtpref_getChipListPath(whichList)
%   MULTILINKTGTPREF_GETCHIPLISTPATH Return the path of the chip
%   registration file. Return empty if the path is not found in MATLAB
%   preferences.

%   Copyright 2006-2012 The MathWorks, Inc.

ret = [];

switch (whichList)    
    case 'default'
        % For built-in processors the file is always in the product directory
        ret = ghsmultiext.Utilities.getTargetRootFolder();
    case 'custom'
        % For custom (user-defined) processors the file is in the directory
        % specified by the user first time a new processor is being added to the
        % system. The directory is saved in the MATLAB preferences and once saved
        % it cannot be changed through the product.

        ret = ghsmultiext.Utilities.multilinkpref('getpref','NewProcessorDefinitionFolder');
        % Return empty

Contact us