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

조회 수: 1 (최근 30일)
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.

댓글을 달려면 로그인하십시오.

답변 (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 CenterFile Exchange에서 Call MATLAB from C에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by