How to change directory to write-able one and still be able to compile using a C- compiler?

I used an user defined matlab function block in my simulink model. When I ran the model it showed that " current directory reserved for matlab files only" , so I changed the directory, but then the system shows an error " unable to locate a C complier used for state flow". I'm stuck please help me out!

1 件のコメント

Titus Edelhofer
Titus Edelhofer 2015 年 6 月 1 日
The "still be able" is misleading: MATLAB first checked the directory (and complained). When you corrected this problem, MATLAB complained about the missing C-Compiler ;-).

サインインしてコメントする。

回答 (1 件)

Titus Edelhofer
Titus Edelhofer 2015 年 6 月 1 日

0 投票

Hi,
take a look here for supported C-compilers (left is "previous" if you have another release).
Titus

カテゴリ

ヘルプ センター および File ExchangeFile Operations についてさらに検索

質問済み:

2015 年 6 月 1 日

コメント済み:

2015 年 6 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by