Knowledge Base

Welcome to OPAL-RT’s Knowledge Base

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

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

For optimal experience, use a desktop computer.

Reference Number: AA-00914 // Views: 6671 // Created: 2015-05-15 20:24:13 // Last Updated: 2018-12-27 06:21:35
HowTo
How to Add Missing OPAL-RT Toolboxes and Libraries to MATLAB

How to Add Missing OPAL-RT Toolboxes and Libraries to MATLAB

During the installation of RT-LAB, it can sometimes happen that the links between MATLAB and OPAL-RT's toolboxes fail to set-up properly. Note that it is recommended to install MATLAB before RT-LAB.

To fix this, please follow the instructions below:

1. Open RT-LAB
2. From RT-LAB, open MATLAB. This will ensure that MATLAB opens the right 'current folder'



3. Find and run all the scripts below one after the other. You can do this by dragging and dropping the scripts into the MATLAB command window.

C:\OPAL-RT\RT-LAB\v11.x.x.xxx\simulink\m\setup_rtlab.m
C:\OPAL-RT\ARTEMIS\v7.x.x.xxx\art_m\setup_artemis.m
C:\OPAL-RT\RT-EVENTS\v4.x.x.xxx\rte_m\setup_rtevents.m
C:\OPAL-RT\eFPGAsim\v1.x.x.xxx\eFPGAsim_m
\setup_efpgasim.m
C:\OPAL-RT\RT-XSG\v2.x.x.xxx\rtxsg_m\setup_rtxsg.m

4. Close MATLAB

5. Type ver in the MATLAB command window and make sure that all the RT-LAB toolboxes you need are detected