Matlab got stuck in real time

8 views (last 30 days)
Hassan
Hassan on 11 Mar 2025
Answered: Jan Houska on 14 Mar 2025
I was running a lab setup controlled via a DAQ and Matlab/Simulink which used to work properly and then I had a problem when running it, Matlab/Simulink got stuck when running it in real time.
I have the same problem when running "sldrt_vdp". Matlab/Simulink got stuck and I have to get out of it using “Task manager”. I uninstalled and reinstalled the real-time kernel, but I still have the same problem. Would appreciate any support on this issue.
Thank you

Answers (1)

Jan Houska
Jan Houska on 14 Mar 2025
Hi Hassan,
it would be probably best to contact technical support with this question. There are multiple reasons why the real-time kernel might not be able to allocate a hardware timer resource, which is most probably the issue you are seeing. If you want someone here to try to answer, please post at least the version of MATLAB you are running and the operating system (including its version) you are running it on.
Best Regards, Jan

Community Treasure Hunt

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

Start Hunting!