In upgrading to MATLAB R2018b from R2018a, Simulink throws an error regarding a 'missing' header file. No folder structures have changed, and the file should be available. In R2018a, the SimParseCustomCode configuration parameter was turned on, and is also on in R2018b under the new name of "Import custom code". When turning this setting off, the model was able to successfully build and compile the code in R2018b, further showing that the header file is available to the compiler. The header file is included through a MATLAB function block with the "coder.updateBuildInfo('addIncludePaths',…)" function call. No additional changelog information is available for this configuration parameter in the release notes. What has changed?
MATLAB: SimParseCustomCode Not Working as Intended Upgrading to R2018b
changescodecoder.updatebuildinfoconfigurationcustomEmbedded Coderparameterr2018bsimparsecustomcodesimulink
Related Question
- How to get data from CSV file to Table
- Is code generation behavior different in 2018b for the “max” function
- Does packNgo throw a warning when external CUDA files are included in the generated code
- Do I get an error when setting the LineStyle property for multiple lines in MATLAB 7.4 (R2007a)
- How to remove automatic selection/highlighting of the figure/axes when I use the PLOTEDIT function
- How to configure string length in generated Simulink code
- Is it possible to include “defines” in the rtwmakecfg.m file in Real-Time Workshop 7.1 (R2008a)
- How to change the location where generated Simulink files are placed
Best Answer