When i want to compile a simulink model, an error occurs in the diagnostic viewer: block_diagram does not have a parameter named 'targetArch'.
조회 수: 3 (최근 30일)
이전 댓글 표시
At the moment I am working with CANoe and Matlab/ Simulink 2016b. Unfortunately I cannot compile a Simulink model to use it in CANoe environment. The error that occurs in the diagnostic viewer is: block_diagram does not have a parameter named 'targetArch'. I can run the Simulink model and see the graphic in CANoe but nothing more. I have tried to change the settings from Simulink and CANoe as described in: https://vector.com/portal/medien/cmc/application_notes/AN-IND-1-007_Using_MATLAB_with_CANoe.pdf This in order to create a model in HIL mode but it did not work. I hope that someone knows more about this problem and could instruct me how to compile the model in the needed code extensions (.dll and .ini). Thanks in advance.
댓글 수: 0
답변 (1개)
Ankita Nargundkar
2017년 3월 6일
You can use ert_shrlib.tlc if you have the Embedded Coder product to generate generic DLLs from your Simulink model. The relevant documentation is here: Shared Object Libraries
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Configure and View Diagnostics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!