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

1 view (last 30 days)
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 Comment
Kaustubha Govind
Kaustubha Govind on 24 Dec 2013
Edited: Kaustubha Govind on 24 Dec 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:

Sign in to comment.

Answers (2)

Kaustubha Govind
Kaustubha Govind on 24 Dec 2013
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 Comments
Raghunandanan Karunakaran
Raghunandanan Karunakaran on 24 Dec 2013
mam but my windows is of 64 bit.. then how can I use 32 bit.
Walter Roberson
Walter Roberson on 24 Dec 2013
You can install the 32 bit version of MATLAB on 64 bit versions of MS Windows.

Sign in to comment.


Jaikrishnan M
Jaikrishnan M on 4 Feb 2019
An Model error to Change the directory to an writtable directory out matlab installation, in diagnostic viewer by cmd

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!