matrix.h(277): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
Show older comments
Hi,
I am working in Visual Stdio 2010 environment and want to call matlab engine form it. My matlab version is 2013b.
I have got an error during compilation which is given below: matrix.h(277): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
when I check inside the matrix.h file, line 277 contains the below statement.
typedef CHAR16_T mxChar;
I would be very grateful, if someone enlighten me on this issue.
4 Comments
Kaustubha Govind
on 27 Mar 2014
Are you able to build your application using the MEX command? Also, please try building the example file engwindemo.c to make sure you are using the correct steps.
Shivaram Singh Rajput
on 11 Jan 2018
Hi, I have a similar error when generating Code using embedded coder.
https://se.mathworks.com/matlabcentral/answers/375441-code-generation-errors-mex-compile-works-fine
Kristof Nagy
on 23 Jun 2020
Hi guys, I have the similar error when compiling the cpp s-function file.
James Tursa
on 23 Jun 2020
Can you show the complete error message you are seeing? Along with the offending line?
Answers (0)
Categories
Find more on ARM Cortex-A Processors in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!