Can I use Matlab 2025b in RTlab?

I have Matlab 2025b, and can I use Matlabe 2025b for RTlab.
Matlab 2025b has SPS, but I have to key lib to find it.

hii, from what I understand yes, but it depends on which RT-LAB version you have :sweat_smile:

From the compatibility table, MATLAB R2025b is only supported from RT-LAB 2026.1 and 2026.3. RT-LAB 2025.1–2025.4 and older don’t support 2025b (they go up to R2024b). So check your RT-LAB version first. If it’s older, either upgrade RT-LAB or install an older MATLAB like R2024b alongside. OPAL-RT’s MATLAB support policy is here: Software policy

Also, are you running it on a real-time simulator (like an OP4510/OP5700 or similar) or just pure simulation on your PC?

Pure simulation: should be ok as long as your RT-LAB version supports 2025b.

On a simulator: you also need to check the other tools you use with it. If you use eHS or ARTEMiS, they need to match your RT-LAB version. If you build FPGA stuff with RT-XSG, that has its own MATLAB/Vivado chart, and I think it currently recommends around R2024b, not 2025b. So it’s better to check before you build anything.

BTW, about SPS: if typing powerlib opens the library and you can see the blocks, I think that’s fine. The library is still there, it’s just not showing up in the browser the normal way. Btw you need Simulink Coder installed too, since RT-LAB uses it to generate the code.

Hope this helps :folded_hands: