When simulating hardware-integrated models that include blocks like the RF Data Converter, particularly in Rapid Accelerator mode, certain internal dependencies can occasionally cause build-time issues. One such case arises when Simulink attempts to compile the model and fails to locate required TLC (Target Language Compiler) files for underlying S-functions.
If the error message you are seeing is along the lines of:
Unable to build a standalone executable to simulate the model in rapid accelerator mode.
The corresponding 'checkRFDCInputDataType.tlc' file for the MATLAB S-function 'checkRFDCInputDataType' must be located in...
— this typically means that Simulink is unable to find the TLC file for an internal utility block used inside the RF Data Converter. This block is part of the data path logic within the RF Data Converter and is not something typically added manually.
A few checks that might help:
- This issue often indicates that the SoC Blockset or the SoC Blockset Support Package for Xilinx Devices is either not installed or not fully configured on the system.
- When using Rapid Accelerator, Simulink attempts to generate code for all components in the model, including internal MATLAB S-functions. For this to succeed, the .tlc files associated with those S-functions need to be available.
You can check whether the required add-ons are present using the following commands:
matlab.internal.addons.showAddon('HW')
matlab.internal.addons.showAddon('XILINX_BLOCKSET')
If either command does not return valid output, it is likely that the required support package has not been installed, or the installation may be incomplete.
To list all currently installed add-ons and find their identifiers:
addons = matlab.addons.installedAddons;
This can be helpful to confirm the exact identifiers and versions for what's installed on your system. The following documentation links can be referred to for a better understanding: