How do we obtain C source code for any built-in function in matlab?

We are finding it difficult to convert a matlab function in C. We tried the Matlab coder but somehow we were not able to run it successfully. We wanted C source codes for functions like floor,fft,length etc. Is there some other way in which this problem can be solved? Should we directly contact the Matlab authorities?

2 件のコメント

Walter Roberson
Walter Roberson 2017 年 2 月 14 日
If I recall correctly the functions you name should all have complete source generated by MATLAB Coder.
Jan
Jan 2017 年 2 月 14 日
Please explain "not able to run it successfully" with any details.

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

回答 (1 件)

Jan
Jan 2017 年 2 月 14 日

0 投票

It is not clear currently, which problem you want to solve. The mentioned functions are built-in, such that you cannot obtain the source code. In consequence you cannot convert the source code to C, but why do you want to do this? The functions can be called through the Matlab libs, so what is the benefit of creating the C code and compiling them again?

カテゴリ

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

質問済み:

2017 年 2 月 14 日

回答済み:

Jan
2017 年 2 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by