example Customize Metrics Dashboard Layout and Functionality not working

in below example code, slmetric.dashboard.Width.Medium this Eum does cause an error as a not defined class.
is there anything I can avoid
misraWidget = complianceContainers(1).addWidget('Custom', 1);
misraWidget.Title=('MISRA');
misraWidget.VisualizationType = 'RadialGauge';
misraWidget.setMetricIDs...
('mathworks.metrics.ModelAdvisorCheckCompliance._SYSTEM_By Task_misra_c');
misraWidget.setWidths(slmetric.dashboard.Width.Medium);

Categories

Find more on Convert Image Type in Help Center and File Exchange

Products

Asked:

on 4 Dec 2018

Answered:

on 14 Jan 2019

Community Treasure Hunt

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

Start Hunting!