- “fatal error U1077” and “error C2099: initializer is not a constant”, indicates an issue with the compilation of C/C++ code within the Simulink model. This can happen due to missing dependencies or incompatible settings.
- “foundation.e...vapor” file in the dependency analyser, suggest that part of the required libraries or files are missing.
- “TestScript.m” file is calling a function or script named “setParamforManeuver.m”, which in turn relies on “ConfigInfos.TestPlan” and “setModelParameter”. The yellow warning symbols indicate that these dependencies are either missing or inaccessible.
- Ensure that “autoblkVVCO...m”, “vdynblksdrvconfig.m”, and “NoThermalControl.slx” files and the above mentioned files are available in the MATLAB path or project folder.
- Use the Dependency Analyzer to identify any missing files or broken links. You may need to add the missing libraries or paths to the MATLAB path. Right-click on the missing items in the Dependency Analyzer and try to locate them manually.
- After making the changes, re-run the Dependency Analyzer to confirm that the issues are resolved.
- Ensure that MATLAB is configured with a compatible C/C++ compiler. Run “mex -setup” in MATLAB to confirm this. In some cases, selecting a different compiler version might help in resolving the compatibility issues.
- Ensure that each referenced model is set up correctly and can be built independently.