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

image thumbnail

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

by

 

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

getBlockInfo_HwInterrupt_multilink_mpc7400_check(modelName)
function getBlockInfo_HwInterrupt_multilink_mpc7400_check(modelName)
%GETBLOCKINFO_HWINTERRUPT Check interrupt numbers for Interrupt block.

%   $Revision: 1.1.6.1 $ $Date: 2012/04/02 21:40:12 $
%   Copyright 2007-2011 The MathWorks, Inc.

try
    targetInfo = getTgtPrefInfo(modelName);
catch igException %#ok<NASGU>
    %ignore all errors!
    targetInfo = '';
end
if (isempty(targetInfo))
    return;
end
if (~strcmpi(targetInfo.chipInfo.realtimesupport,'on'))
    error(message('GHSMULTIEXT:util:ChipNotSupportedOnHwiBlock'));
end

Contact us