www.gusucode.com > polyspace_bf 案例源码 matlab代码程序 > polyspace_bf/CreateandeditanoptionsobjectforEmbeddedCoderatthecommandExample.m

    %% Create and edit an options object for Embedded Coder at the command line  

%% 
% Create a Polyspace(R) options object called |new_opt| with Embedded Coder(R)
% parameters: 
new_opt = pslinkoptions('ec')  

%% 
% To Follow the progress in the Polyspace interface, set the |OpenProjectManager| 
% option to true. Change the configuration to check for both
% checks and MISRA C(R) 2012 coding rule violations: 
new_opt.OpenProjectManager = true;
new_opt.VerificationSettings = 'PrjConfigAndMisraC2012'