Support : Knowledge base

Knowledge Base

Welcome to OPAL-RT’s Knowledge Base

OPAL-RT offers a repository of support information for optimal use of its technology.

Loading…

Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.

For optimal experience, use a desktop computer.

Reference Number: AA-02233// Views: AA-02233// Created: 2023-10-25 12:44:56// Last Updated: 2023-10-25 12:45:27
Problem & Solution
‘Opening Model’ Has Encountered a Problem - Unknown Matlab Version Detected:??? Attempt to Add “Release” to a Static Workspace.

‘Opening Model’ Has Encountered a Problem - Unknown Matlab Version Detected:??? Attempt to Add “Release” to a Static Workspace.


Problem:

When I open MATLAB 2021b from RT-LAB, the model opens but the following error pops in RT-LAB:


Opening MATLAB
Unknown MATLAB version detected:??? Attempt to add "release" to a static workspace.

Error in matlab.desktop.editor.RtcEditorDocument/performActionSync (line 96)

...



Solution:

The solution is to uninstall the toolbox called 'Simulink Requirements' from MATLAB. To confirm that 'Simulink Requirements' is indeed installed, in the MATLAB console, type 'ver'.


To uninstall this toolbox, in MATLAB, go to the 'Home' ribbons > 'Add-Ons'. In the Add-On Explorer, click on 'Manage Add-Ons' :



Then, search for 'Simulink Requirements' : right-click on it and select 'uninstall'  to uninstall it.


Extra Information:

Please keep in mind that this error is not blocking. It is still possible to open the model and compile. The issue is caused because RT-LAB tries to write a variable called 'Release' to the workspace, but the workspace is blocked due to the 'Simulink Requirements' toolbox.