configuration parameters don't include code generation,what‘s the reason?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

configuration parameters don't include code generation,what‘s the reason?

跳至解决方案
4,315 次查看
jinhui_wu
Contributor III

configuration parameters don't include code generation,what‘s the reason?QQ截图20170622113547.png

标签 (1)
0 项奖励
回复
1 解答
3,627 次查看
constantinrazva
NXP Employee
NXP Employee

Hi jinhui.wu‌,

You can also try this command:

license('checkout','RTW_Embedded_Coder') 

in your Matlab command prompt and verify that the return value is 1. If that's not the case, Simulink is experiencing problems while checking out the license for Simulink Embedded Coder.

Razvan.

在原帖中查看解决方案

0 项奖励
回复
8 回复数
3,628 次查看
constantinrazva
NXP Employee
NXP Employee

Hi jinhui.wu‌,

You can also try this command:

license('checkout','RTW_Embedded_Coder') 

in your Matlab command prompt and verify that the return value is 1. If that's not the case, Simulink is experiencing problems while checking out the license for Simulink Embedded Coder.

Razvan.

0 项奖励
回复
3,627 次查看
jinhui_wu
Contributor III

Trial>> ver
-----------------------------------------------------------------------------------------------
MATLAB 版本: 9.2.0.556344 (R2017a)
MATLAB 许可证编号: DEMO
操作系统: Microsoft Windows 7 专业版 Version 6.1 (Build 7601: Service Pack 1)
Java 版本: Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------
MATLAB 版本 9.2 (R2017a)
Simulink 版本 8.9 (R2017a)
Bioinformatics Toolbox 版本 4.8 (R2017a)
Communications System Toolbox 版本 6.4 (R2017a)
Computer Vision System Toolbox 版本 7.3 (R2017a)
Control System Toolbox 版本 10.2 (R2017a)
Curve Fitting Toolbox 版本 3.5.5 (R2017a)
DSP System Toolbox 版本 9.4 (R2017a)
Data Acquisition Toolbox 版本 3.11 (R2017a)
Database Toolbox 版本 7.1 (R2017a)
Datafeed Toolbox 版本 5.5 (R2017a)
Econometrics Toolbox 版本 4.0 (R2017a)
Financial Instruments Toolbox 版本 2.5 (R2017a)
Financial Toolbox 版本 5.9 (R2017a)
Global Optimization Toolbox 版本 3.4.2 (R2017a)
Image Acquisition Toolbox 版本 5.2 (R2017a)
Image Processing Toolbox 版本 10.0 (R2017a)
Instrument Control Toolbox 版本 3.11 (R2017a)
Model Based Design Toolbox for MPC574xP 版本 2.0
Neural Network Toolbox 版本 10.0 (R2017a)
Optimization Toolbox 版本 7.6 (R2017a)
Parallel Computing Toolbox 版本 6.10 (R2017a)
Signal Processing Toolbox 版本 7.4 (R2017a)
SimBiology 版本 5.6 (R2017a)
Simulink Control Design 版本 4.5 (R2017a)
Spreadsheet Link 版本 3.3.1 (R2017a)
Stateflow 版本 8.9 (R2017a)
Statistics and Machine Learning Toolbox 版本 11.1 (R2017a)
Symbolic Math Toolbox 版本 7.2 (R2017a)
System Identification Toolbox 版本 9.6 (R2017a)
Trial>>

0 项奖励
回复
3,625 次查看
jinhui_wu
Contributor III

Troubleshoot this issue by visiting:
http://www.mathworks.com/support/lme/R2017a/5

Diagnostic Information:
Feature: RTW_Embedded_Coder
License path: C:\Users\jinhuiw\AppData\Roaming\MathWorks\MATLAB\R2017a_licenses;C:\Program Files\MATLAB\R2017a\licenses\license.dat;C:\Program Files\MATLAB\R2017a\licenses\trial_4132165_R2017a.lic
Licensing error: -5,357.

ans =

0

Trial>>

0 项奖励
回复
3,627 次查看
Daniel_Popa
NXP Employee
NXP Employee

Hi jinhui.wu‌,

What is the name & version of the toolbox you are using ?  

What is the return value of this command license('checkout', 'real-time_workshop') in your Matlab command prompt ?

If you don't see 1 as the return value, you are probably not seeing the Code Generation pane in the Configuration Parameters window because Simulink is unable to check out a license for Simulink Embedded Coder (formerly known as Real-Time Workshop).

Please run command ver and paste its output here as well.

Hope this helps!

Daniel

0 项奖励
回复
3,625 次查看
jinhui_wu
Contributor III

hi daniel:

   the reason should be that Simulink is unable to check out a license for Simulink Embedded Coder.

   how can i solve this problem?

0 项奖励
回复
3,627 次查看
Daniel_Popa
NXP Employee
NXP Employee

Hi jinhui.wu‌,

You will need to buy one from Mathworks. I'm afraid we can't help you in this matter - Embedded Coder is a general pre-requisite for Matlab to generate the C-code.

Hope you will find a way to acquire such license.

Best regards,

Daniel 

0 项奖励
回复
3,625 次查看
jinhui_wu
Contributor III

daniel:

   thank you,i have already connect mathworks.

   they say:According to the output of ver command, you have not installed Simulink Coder or Embedded Coder. I also checked your trial license and found that it does not include these two toolboxes. 

   so i need buy these two toolboxes!

   i am trying other way,thanks you very much for your help!

0 项奖励
回复
3,627 次查看
jinhui_wu
Contributor III

Trial>> ver
-----------------------------------------------------------------------------------------------
MATLAB 版本: 9.2.0.556344 (R2017a)
MATLAB 许可证编号: DEMO
操作系统: Microsoft Windows 7 专业版 Version 6.1 (Build 7601: Service Pack 1)
Java 版本: Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------
MATLAB 版本 9.2 (R2017a)
Simulink 版本 8.9 (R2017a)
Bioinformatics Toolbox 版本 4.8 (R2017a)
Communications System Toolbox 版本 6.4 (R2017a)
Computer Vision System Toolbox 版本 7.3 (R2017a)
Control System Toolbox 版本 10.2 (R2017a)
Curve Fitting Toolbox 版本 3.5.5 (R2017a)
DSP System Toolbox 版本 9.4 (R2017a)
Data Acquisition Toolbox 版本 3.11 (R2017a)
Database Toolbox 版本 7.1 (R2017a)
Datafeed Toolbox 版本 5.5 (R2017a)
Econometrics Toolbox 版本 4.0 (R2017a)
Financial Instruments Toolbox 版本 2.5 (R2017a)
Financial Toolbox 版本 5.9 (R2017a)
Global Optimization Toolbox 版本 3.4.2 (R2017a)
Image Acquisition Toolbox 版本 5.2 (R2017a)
Image Processing Toolbox 版本 10.0 (R2017a)
Instrument Control Toolbox 版本 3.11 (R2017a)
Model Based Design Toolbox for MPC574xP 版本 2.0
Neural Network Toolbox 版本 10.0 (R2017a)
Optimization Toolbox 版本 7.6 (R2017a)
Parallel Computing Toolbox 版本 6.10 (R2017a)
Signal Processing Toolbox 版本 7.4 (R2017a)
SimBiology 版本 5.6 (R2017a)
Simulink Control Design 版本 4.5 (R2017a)
Spreadsheet Link 版本 3.3.1 (R2017a)
Stateflow 版本 8.9 (R2017a)
Statistics and Machine Learning Toolbox 版本 11.1 (R2017a)
Symbolic Math Toolbox 版本 7.2 (R2017a)
System Identification Toolbox 版本 9.6 (R2017a)
Trial>> license('checkout','RTW_Embedded_Coder')
License checkout failed.
License Manager Error -5
Cannot find a license for RTW_Embedded_Coder.

Troubleshoot this issue by visiting:
http://www.mathworks.com/support/lme/R2017a/5

Diagnostic Information:
Feature: RTW_Embedded_Coder
License path: C:\Users\jinhuiw\AppData\Roaming\MathWorks\MATLAB\R2017a_licenses;C:\Program Files\MATLAB\R2017a\licenses\license.dat;C:\Program Files\MATLAB\R2017a\licenses\trial_4132165_R2017a.lic
Licensing error: -5,357.

ans =

0

Trial>>

0 项奖励
回复