This tool measures total model complexity by computing Static Complexity (Halstead Metrics) and Dynamic Complexity by using Profiler Data.
ES (2021). Simulink Model Complexity Analyzer (https://www.mathworks.com/matlabcentral/fileexchange/66410-simulink-model-complexity-analyzer), MATLAB Central File Exchange. Retrieved .
Inspired by: Status Bar
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
Please check this there are errors when i run the code.
Error in ComplexityAnalyzer>figButAnalyze_Callback (line 185)
sSelectedModel = cExistingModelsList{iModelIdx};
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in ComplexityAnalyzer (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)ComplexityAnalyzer('figButAnalyze_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.
Error using cd
Cannot CD to H:\matlab project\ComplexityAnalyzer\ComplexityAnalyzer\tempFiles (Name is nonexistent or not a directory).
Error in deleteTempModels (line 9)
cd(sTempFolder);
Error in ComplexityAnalyzer>figGuiComplAn_DeleteFcn (line 435)
deleteTempModels( sAppRoot );
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in ComplexityAnalyzer (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)ComplexityAnalyzer('figGuiComplAn_DeleteFcn',hObject,eventdata,guidata(hObject))
Error using ComplexityAnalyzer>figGuiComplAn_CloseRequestFcn (line 560)
Error while evaluating Figure DeleteFcn.
https://www.mathworks.com/help/slcheck/collect-model-metric-data-1.html