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

2 次查看(过去 30 天)
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 个评论
Kaustubha Govind
Kaustubha Govind 2013-12-24
编辑:Kaustubha Govind 2013-12-24
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:


回答(2 个)

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


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


Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息


Community Treasure Hunt

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

Start Hunting!

Translated by