Unexpected "Embedded Coder not licensed or not installed" error

Hi,
I have Matlab 2013b installed with Simulink and a whole host of other toolboxes that have licenses on a shared network. Yesterday morning, I successfully built some Simulink code intended for a TI microcontroller using Embedded Coder.
However, I tried to build the exact same Simulink model again today, and I get the error:
Embedded Coder is not licensed or not installed. The current target is: C:\Program Files\MATLAB\R2013b\rtw\c\ert\ert.tlc
I used the 'ver' command in the command line to verify that I have Embedded Coder installed, I've verified that the Embedded Coder license is not checked out by someone else, and I've checked all of the configurations for the project are the same as before. In addition to that, I've restarted my computer and tried building the model again and I get the same error. I'm confused and frustrated because I shouldn't be getting this error, right? So what could be causing me to get the error?
Thanks, Bryce

3 件のコメント

Anusha B
Anusha B 2015 年 3 月 17 日
How did you verify that the license for Embedded Coder was not checked out by someone else?
The following command tests if a license exists for Embedded Coder:
license('test','RTW_Embedded_Coder')
The following command tests if a license is checked out for Embedded Coder:
license('checkout','RTW_Embedded_Coder')
Do these commands return 1 as the output?
Nelly Thoithi
Nelly Thoithi 2015 年 9 月 15 日
Hi Anusha. I'm having a similar problem trying to use embedded coder for an STM. I suspect I don't have it installed because it doesn't show up on the list of installed toolboxes when I use the 'ver' command. I'm getting ans=1 for both the commands you suggested. What does this mean.
PS: sorry if this sounds like a silly question. I'm new to MATLAB/ Simulink.
Walter Roberson
Walter Roberson 2015 年 9 月 15 日
Nelly, it is possible that you have a license for the software but have not installed it.

サインインしてコメントする。

回答 (2 件)

François Pantin
François Pantin 2020 年 2 月 14 日

0 投票

Hi,
I'm experiencing exactly the same issue as Bryce, I'm using Matlab 2018b with a floating license (shared with my colleagues), with a bunch of toolboxes on a shared network including Embedded Coder. I usually build Simulink models using Embedded Coder, without any trouble, and since yesterday Simulink returns that Embedded Coder is not installed or licensed, whereas the ver command shows Embedded Coder.
However when I run the first commands (license('test','RTW_Embedded_Coder')), I get 0, what does that mean ?
I get similar text from Simulink "The current target is: D:\APP\MATLAB\R2018b\rtw\c\ert\ert.tlc"
And same thing, I know that no one reserved the toolbox thanks to a windows script.
So how could Embedded Coder be unavailable from one day to another, has anyone solved such an issue ?
Thanks for you answers,
François

5 件のコメント

Jonas
Jonas 2020 年 2 月 14 日
The ver command returns the installed toolboxes. The license command returns the licenced toolboxes. So in this case it means it cannot find the license.
François Pantin
François Pantin 2020 年 2 月 14 日
Ok thank you for the reply.
In this case, how can I check the path of the license under Matlab/Simulink ? Is there a specific license file ?
Brian Bastiaens
Brian Bastiaens 2021 年 4 月 21 日
Would like to know the answer to this as well
Andy Bartlett
Andy Bartlett 2021 年 4 月 22 日
移動済み: Stefanie Schwarz 2023 年 7 月 10 日
Stefanie Schwarz
Stefanie Schwarz 2023 年 7 月 10 日
If a license checkout fails, contact your MATLAB License Administrator or MathWorks Installation Technical Support.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

質問済み:

2015 年 2 月 27 日

回答済み:

2025 年 7 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by