variables in c is input for a function running in matlab and print in c, how to

2 ビュー (過去 30 日間)
Rashi Mehrotra
Rashi Mehrotra 2022 年 1 月 5 日
回答済み: Benjamin Thompson 2022 年 2 月 10 日
How can I create a link between c and matlab, I have to take input from c program run a function in matlab and then print the output in c.
  13 件のコメント
Rashi Mehrotra
Rashi Mehrotra 2022 年 2 月 10 日
There is engdemo.c in matlab API, whne i run it it gives me error.
Walter Roberson
Walter Roberson 2022 年 2 月 10 日
What error message do you observe?

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

回答 (1 件)

Benjamin Thompson
Benjamin Thompson 2022 年 2 月 10 日
Use mex to build C code into a function callable in MATLAB. There is a lot of information and examples in the documentation.

カテゴリ

Help Center および File ExchangeIntroduction 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