3 views (last 30 days)
Tony Carpinteri
Tony Carpinteri on 8 Oct 2019
Answered: Milan Padhiyar on 28 Jan 2021
Hi I am trying to deploy the given waypointFollower example in simulink. I keep getting this error even if I follow the steps suggested to resolve the issue:
Error building model 'nonlinearAirframe'. The current model configuration differs from the model configuration used to generate the shared utility code folder, 'C:\Users\marti\MATLAB\Projects\examples\parrotMinidroneWaypointFollower\work\slprj\ert\_sharedutils'.

Answers (1)

Milan Padhiyar
Milan Padhiyar on 28 Jan 2021
This issue is related to the fact that there are differences in the configuration parameters between top and referenced models.
Please note that this error occurs if there are differences in the 'Standard math library' parameter in Configuration Parameters > Code Generation > Interface > Advanced parameters.
For instance, this parameter could be C89/C90 (ANSI) for the parent model and a child model, and C99 (ISO) for another child model.
In order to solve this issue, please make sure to use the same Configuration parameters. Configuration references can help avoid parameter mismatches:




Community Treasure Hunt

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

Start Hunting!

Translated by