Getting error while building reference model in simulink realtime using speedgoat.tlc in 2024b

I have reference 3 model inside main model while build the main model in simulink realtime i am getting this error, these models are compiling/building individually.
Error : ### Checking status of model reference code generation target for model 'abcd' used in 'MasterSpeedgoatModel'.
### Model reference code generation target (abcd.cpp) for model SwDev_IO_V2 was out of date. Binary information cache did not exist. slprj folder containing binary information cache might have been removed.
### Starting build procedure for: abcd ### Generating code and artifacts to 'Model specific' folder structure
Model reference code generation targets:
Model Build Reason Status Build Duration
=======================================================================================================================================
abcd Information cache folder or artifacts were missing. Failed to build. For more information, see build log. 0d
Top model targets:
Model Build Reason Status Build Duration
================================================================================================================================================
MainModel Information cache folder or artifacts were missing. Failed to build. For more information, see build log. 0d
0 of 4 models built (1 models already up to date)
Error:Error(s) encountered while building "abcd_rtwlib"

2 Comments

Having the same issue. Have you found the solution?
You must be getting a compiler error, but the error isn't visible in the build log you provided. Can you turn on Verbose builds and then share the compiler error?

Sign in to comment.

Answers (0)

Categories

Find more on Real-Time Simulation and Testing in Help Center and File Exchange

Asked:

on 16 Jan 2025

Commented:

on 18 Aug 2025

Community Treasure Hunt

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

Start Hunting!