Simulink coder fatal error c1083

5 vues (au cours des 30 derniers jours)
Thierry Mba
Thierry Mba le 19 Oct 2018
Modifié(e) : Ayush le 28 Nov 2024
Dear Mathworks-Team,
im trying to generate a code with simulink coder (Matlab r2018a Studentversion)and Visual Studio professional 2017. Unfortunatly i have this error. Please is this error already known.
Best Regards
T. Mba
Otis Berlin GmbH
  2 commentaires
Jiangfeng Liu
Jiangfeng Liu le 26 Mar 2021
Hello, i am facing the same problem,have you solved it?
Austin Stark
Austin Stark le 19 Jan 2022
I am also wondering if a solution has been found for this?

Connectez-vous pour commenter.

Réponses (1)

Ayush
Ayush le 28 Nov 2024
Modifié(e) : Ayush le 28 Nov 2024
I also faced the similar error: fatal error C1083 until R2018b release when following this example from the documentation:
% execute this in R2018b release to open that documentation
web(fullfile(docroot, 'coder/ug/standalone-c-c-executables-from-matlab-code.html'))
However, it was fixed in R2019a release.
As a workaround you can try to remove (the missing file):
#include "stdlib.h"
line from the main.c file.

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by