why this error "Unable to check out the Simulink Coder license which is required to generate code"?

78 views (last 30 days)
sneha bharadwaj
sneha bharadwaj on 6 Feb 2017
Edited: Stefanie Schwarz on 11 Oct 2021
I am using s function blocks in my simulink model. I could generate c code from simulink coder before some days but now for the same model i am gettin an error "Unable to check out the Simulink Coder license which is required to generate code"

Accepted Answer

cr
cr on 6 Feb 2017
Edited: cr on 7 Feb 2017
The error pops up when user tries to use a function in an installed toolbox/product but corresponding licence couldn't be found. If you have successfully used the product earlier on the same machine, the licence has probably expired now. In case it is a shared licence Matlab is unable to connect to LM server for checking out a licence or there are too many users checking out the product at the time of licence checkout failure.

Community Treasure Hunt

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

Start Hunting!