I want to specifiy a Autosar.Signal with the Attribute "needsNVRAMAccess" in a m-file. How is this possible?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
My code looks like:
Temp = AUTOSAR.Signal;
Temp.StorageClass = 'PerInstanceMemory (Custom)';
Temp.DataType = 'T_I_A_1048576_1_s32';
Temp.InitialValue = '0';
Temp.Max = 2000;
Temp.Min = -2000;
Temp.Dimensions = evalin('base','1');
Temp.SamplingMode = 'Sample based';
Temp.Complexity = 'auto';
Temp.Description = 'Average quiescent current';
Temp.DocUnits = 'A';
How can set Attribute "needNVRAMAccess" to this signal within the m-file?
Thanks for the help!
0 Kommentare
Antworten (1)
Laura Biggs
am 9 Mär. 2016
You can use:
Temp.CoderInfo.CustomAttributes.needsNVRAMAccess = false
0 Kommentare
Siehe auch
Kategorien
Mehr zu Fourier Analysis and Filtering 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!