"code error" "model error" "parse log" in simulink

code error
"Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler."
and on using the 'mex -setup'
i`m getting
"No supported SDK or compiler was found on this computer."
and checking the SDK file size on microsoft website, it show the size of 600mb. and i leave in a place where internet facility is not available for that extent. is there any alternative method.
so kindly get me solution s soon as possible.

1 commentaire

Kaustubha Govind
Kaustubha Govind le 24 Déc 2013
Modifié(e) : Kaustubha Govind le 24 Déc 2013
Raghunandanan: I received a personal message from you with this question.
Please be considerate and avoid sending personal messages to contributors on this forum. All users participate voluntarily, and in their spare time. Search the forum for similar questions and see if the solutions help. If you do not find a solution, formulate your problem well and post it as a question on the forum. Be patient and allow time for it to be answered. There are some great tips in these discussions:

Connectez-vous pour commenter.

Réponses (2)

Kaustubha Govind
Kaustubha Govind le 24 Déc 2013

0 votes

Unfortunately, you do need to install a C compiler for Stateflow/MATLAB Function blocks to work. If you're on Windows, you could also try installing 32-bit MATLAB which comes with the free LCC-WIN32 compiler packaged with it.

2 commentaires

mam but my windows is of 64 bit.. then how can I use 32 bit.
You can install the 32 bit version of MATLAB on 64 bit versions of MS Windows.

Connectez-vous pour commenter.

Jaikrishnan M
Jaikrishnan M le 4 Fév 2019

0 votes

An Model error to Change the directory to an writtable directory out matlab installation, in diagnostic viewer by cmd

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by