Matlab unable to use existing Embedded Coder License

26 ビュー (過去 30 日間)
Danna
Danna 2023 年 10 月 17 日
編集済み: Stefanie Schwarz 2025 年 7 月 8 日
I am running the https://www.mathworks.com/help/soc/ug/5GNRCellSearchUsingXilinxRFSoCDevice.html on example for the Xilinx RFSoC ZCU 111 on MATLAB Simulink 2022b, with Xilinx Vivado v2020.2. When I select the Configure, Build & Deploy option on the soc project, Followed by Build, load, and run>Validate Menu>Validate
Error is raised for Required MathWorks products and vedor tool with message "The use of this feature requires a license for the Embedded Coder"
However when testing for the license:
license('test','RTW_Embedded_Coder')
ans =
1
Any help in deducing the issue is appreciated.

採用された回答

Himanshu
Himanshu 2023 年 10 月 20 日
編集済み: Stefanie Schwarz 2025 年 7 月 8 日
Hey,
I understand that you are trying to generate C/C++ code using Embedded Coder, but your Embedded Coder License is not detected by the SoC Blockset workflow.
Please refer to the troubleshooting steps presented in the following artile:
Hope this helps!
  1 件のコメント
Danna
Danna 2023 年 10 月 24 日
編集済み: Danna 2023 年 10 月 24 日
@Himanshu Thanks for the help! I realized that even though I had Embedded Coder installed, Matlab wasn't recognizing it when I ran
ver -support
. I did the following:
  1. Shift matlab from non-root to root, through license manager.
  2. I went to Add Ons>Manage Add Ons>Uninstalled Embedded Coder and just reinstalled it.
  3. Shifted matlab back to non-root user.
Followed by this I opened Matlab again and that did the trick.

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

その他の回答 (0 件)

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by