- Simulink Coder: https://www.mathworks.com/products/simulink-coder.html
- Simulink PLC Coder: https://www.mathworks.com/products/simulink-plc-coder.html
Cannot access the Code Generation tab for Simulink.Parameter in Model Workspace
조회 수: 9 (최근 30일)
이전 댓글 표시
Hi.
I have the Simulink PLC Coder License and I have a problem with simulink parameters in the Model Workspace. The Code Generation tab is missing!
I have access to the Code Generation tab only if the parameter is in the Base Workspace!? See attchment, where I have created a Simulink.Parameter in the Base- and copied it to the Model Workspace. As you can see, the Code Generation tab disappears.
Do I need some additional license just to have access to that tab in the model workspace? I thought that the rather expensive PLC Coder would be able to do that?
I have tried to re-install matlab, both update 4 and 5..
List of my product licenses:
MATLAB
Simulink
Control System Toolbox
Curve Fitting Toolbox
Industrial Communication Toolbox
Parallel Computing Toolbox
Simscape
Simscape Electrical
Simulink Control Design
Simulink PLC Coder
Stateflow
Statistics and Machine Learning Toolbox
System Identification Toolbox
댓글 수: 0
채택된 답변
Shivani
2023년 9월 20일
The Code generation tab for the Simulink.Parameter variable might be missing in the model workspace because it requires license to the Simulink Coder App.
The Code Generation tab will look something like this, on purchasing the Simulink Coder App license. As seen in the picture, the Coder App is required for configuration which is potentially why that tab is currently missing in your Simulink’s interface.
Furthermore, Code Generation for model workspace variables makes use of the Code Mapping editor, which is a part of the Simulink Coder. You can read more about the Code Mappings Editor by accessing this link: https://www.mathworks.com/help/rtw/ref/codemappingseditorc.html
The Simulink PLC coder will not be able to solve this issue as it varies from the Simulink Coder, please look at the links below for more details regarding the same:
I hope this resolves your issue!
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink PLC Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!