My custom toolchain works with MATLAB Coder but is not found in Simulink Coder
7 ビュー (過去 30 日間)
古いコメントを表示
I created a custom toolchain to build 32-bit DLLs on 64-bit windows by following the example/instructions here:
The toolchain has been verified using MATLAB Coder but when I follow the instructions in the above reference the toolchain does not apear in the dropdown shown below.
In the tutorial the following is given to troubleshoot this issue but has not resolved the issue for me. Are there any other known fixes for this? Thank you very much in advance for any help.
"Sometimes after setting the hardware the toolchain still does not appear under the dropdown. To resolve this make sure that the hardware settings have been applied, and close the configuration parameters. Reopen the configuration parameters and you should see the toolchain appear as an option. Additionally saving the model after applying the hardware change can allow the new toolchain to be found".
0 件のコメント
採用された回答
Ayush
2023 年 10 月 5 日
The build toolchain list is populated by MATLAB's known toolchains, and then filtered according to your configuration. As the toolchain is shown in "coder.make.getToolchains", this means MATLAB knows about it, so it must have been filtered out.
This filtering is controlled by the test hardware device vendor and device type. These settings are found under the "Hardware Implementation" tab of the Configuration Editor, shown below in red. If the highlighted checkbox is checked (this is the default), then these settings are driven by the production hardware configuration, shown in blue.
The settings in these dropdown menus must match the "TargetHWDeviceType" property set in the "rtwTargetInfo.m" file you made for your toolchain, otherwise it will not be shown; please adjust these to match. Note that the Configuration Editor must be closed and reopened to reload the toolchains list, and changes to your "rtwTargetInfo.m" might not take effect until MATLAB is restarted.
Hope this helps!
Thank you
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!