My custom toolchain works with MATLAB Coder but is not found in Simulink Coder

6 visualizzazioni (ultimi 30 giorni)
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".

Risposta accettata

Ayush
Ayush il 5 Ott 2023
Hi @Kaden,
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

Più risposte (0)

Categorie

Scopri di più su Embedded Coder in Help Center e File Exchange

Prodotti


Release

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by