Error using sdi.Repository Database operation order error in. (unknown)

3 views (last 30 days)
When I attempt to open Performance Advisor, the "Initializing..." window pops up briefly and then I get an error window popup with a "Database operation order error in. (unknown)" error. I'm using Simulink Real-Time 2015b.
When opening the Performance Advisor through the Model Advisor, I get the following error messages in the MATLAB Command Window:
Error using sdi.Repository
Database operation order error in . (unknown)
Error in ModelAdvisor.Repository/connect
Error in ModelAdvisor.Repository
Error in Simulink.ModelAdvisor/getWorkDir
Error in Simulink.ModelAdvisor/init>checkIfNeedLoadSlprj
Error in Simulink.ModelAdvisor/init
Error in Advisor.Application/updateModelAdvisorObj
Error in Advisor.Application/setAnalysisRoot
Error in Simulink.ModelAdvisor.getModelAdvisor>loc_createApplication
Error in Simulink.ModelAdvisor.getModelAdvisor
Error in utilPerformanceAdvisorStart
Error in performanceadvisor_exe
Error in performanceadvisor (line 18)
performanceadvisor_exe(system, varargin);
Error in Simulink.ModelAdvisor/displayExplorer>MECallback
Warning: Error occurred while evaluating listener callback.
I have tried clearing the repository (sdi.Repository.clearRepositoryFile();) but I still get the same error.

Answers (1)

Fabia Bayer
Fabia Bayer on 11 Jan 2021
I ran into the same problem using Matlab R2016b on Windows for the Performance Advisor and the Model Reference Conversion Advisor. Providing the answer for others stumbling across this thread, even though it is rather old.
The error appears when the path is too long and some cache files cannot be stored. It can be solved by reducing the length of the path name.
This link references to the equivalent error message that I got in Matlab 2018b, which is answered by the Matlab staff.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!