Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
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 ?

Antworten (0)

Kategorien

Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!