필터 지우기
필터 지우기

how to successfully build model s12x_ccp.mdl of S12X Demo Kit (s12x_demo_CW.zip) in MATLAB2014a (and later versions) ?

조회 수: 1 (최근 30일)
Hi,
Recently I'm learning the S12X Demo Kit (s12x_demo_CW.zip).
There is a error when I try to build the model s12x_ccp.mdl of S12X Demo Kit (s12x_demo_CW.zip) in MATLAB2010a (and later versions).
Firstly, I have changed my directory to the source directory where unzipped s12x_demo_CW.zip and start the kit by typing run_demo at the MATLAB prompt.
And then the question is : I can successfully build the model s12x_ccp.mdl in MATLAB2009b, but not in MATLAB2010a.
In MATLAB2010a, when I click Start simulation button displayed in s12x_ccp.mdl model toolbar, Simulink will print the error, as follows:
Error in 's12x_ccp/CAN Calibration Protocol/DTO Processing/CCP/CAN Calibration Protocol': Initialization commands cannot be evaluated. No appropriate method, property, or field Configuration for class canlib.Signal.
In CAN Calibration Protocol block,the Initialization commands is :
%% between all signal objects if isnumeric(TOTAL_NUM_ODTS) && ~isempty(TOTAL_NUM_ODTS) tempVar = canlib.Signal; tempVar.Configuration.total_num_odts = TOTAL_NUM_ODTS; end;
I have tried to contact mytarget@mathworks.com, but no response.
So, could you tell me how to resolve this problem ?

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!