Azzera filtri
Azzera filtri

Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler.

2 visualizzazioni (ultimi 30 giorni)
how can solve this issue with the compiler
I use a sine-wave source connected to embedded matlab function with same function input equal output then connected to the scope. easy model
when run this model i get error: Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler.

Risposta accettata

A Jenkins
A Jenkins il 19 Feb 2014
You need to setup your compiler.
As the error suggests, go to to the MATLAB command line and type
mex -setup
For more information: Selecting a Compiler
  4 Commenti

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su MATLAB Compiler in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by