필터 지우기
필터 지우기

Unable to use simulink compiler to export FMU model

조회 수: 8 (최근 30일)
xin yang
xin yang 2020년 4월 2일
편집: Yash 2023년 8월 29일
I`m using the matlab 2020a, for tring to use simulink complier.
But when I followed the help to use the exportToFMU2CS('vdp'), the matlab shows "Unable to check out the Simulink Compiler license which is required to generate FMU target".
I have tried to reinstall the matlab 2020a but it sitll cannot work. What should I do to fix it?

답변 (1개)

Yash
Yash 2023년 8월 29일
편집: Yash 2023년 8월 29일
To check if you have a license for Simulink Compiler in MATLAB, you can use the license function along with the product identifier for Simulink Compiler. Here's how you can do it:
  1. Open MATLAB.
  2. In the MATLAB Command Window, type the following command:
license('test', 'Simulink_Compiler')
This command will check if you have a valid license for Simulink Compiler. If you have a valid license, MATLAB will return 1 (true), indicating that the license is available. If you don't have a license, it will return 0 (false).
Additionally you can also make use of the ver function to display information about installed toolbox versions. When you add the -support flag to the ver function, it provides additional information about the support status of the installed toolboxes. This can be particularly useful for ensuring that you have the necessary support and compatibility for your toolboxes. Here's how to use ver -support:
ver -support
When you run this command in MATLAB, it will display a list of installed toolboxes along with information about their support status. The support status can include details about whether the toolbox is actively supported, whether it's compatible with your MATLAB version, and any additional notes or comments related to support.
I hope this helps

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by