Programatically write model configuration using set_param() for hardware resources
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi ,
I am trying to write Target hardware resources using script using set_param() API .I have tried below :
%set_param(mdl, 'SimulationMode', 'external', 'ExternalMode', 'on','TransportLayer', 'XCP on CAN');
set_param(FSS_Config4,'ExtMode', 'on');
but its not working. Can you shares example script to pgramatically write CAN_A/peripheral setting for hardware resources.
0 Kommentare
Antworten (1)
Fangjun Jiang
am 9 Sep. 2025
Property names are incorrect.
Should be 'ExtMode', not 'ExternalMode'
Should be 'ExtModeTransport', not 'TransportLayer'
0 Kommentare
Siehe auch
Kategorien
Mehr zu Simulink Coder 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!