When i want to compile a simulink model, an error occurs in the diagnostic viewer: block_diagram does not have a parameter named 'targetArch'.

2 次查看(过去 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.

回答(1 个)

Ankita Nargundkar
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

类别

Help CenterFile Exchange 中查找有关 Configure and View Diagnostics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by