MATLAB Answers

when i try to run a simulation of embedded matlab function block using simulink it shows compilation error

1 view (last 30 days)
sivakumar on 13 Mar 2015
i had installed matlab version r2013a. i tried using simulink block embedded simulink function. it showed the error message as follows: "Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler."
so i typed the command mex - setup and the following appeared: "No supported SDK or compiler was found on this computer. For a list of supported compilers, see"
i used the link below and downloaded microsoft windows sdk 7.1 and installed it. but still i got this message.
then i downloaded visual studio and installed it. but still i get this message on typng mex setup. is it required to first uninstall sdk7.1 before installing visual studio?
please address this question as soon as possible. thanks in advance.


Sign in to comment.

Answers (0)



Community Treasure Hunt

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

Start Hunting!