cmath library for interfacing matlab with visual c

조회 수: 10 (최근 30일)
Muhammad Amir
Muhammad Amir 2013년 9월 19일
I am trying to interface matlab 2012 with visual c++ 6.0. I cant find matlab.h file. I have search online as well but unable to find this file. Where can i find files in MATLAB C/C++ Math Library. Or from where can i install MATLAB C/C++ Math Library. Furthermore any help regarding interfacing matlab with vc is appreciated.
Actually, I have data acquisition card that acquires samples through vc code. I want to do development in matlab and wish to have two way communication between matlab and vc. How can i achieve this.

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2013년 9월 19일
Please see this previous discussion: About Matlab C++ Math Library
  댓글 수: 2
Muhammad Amir
Muhammad Amir 2013년 9월 20일
Thank you for reply. Actually, I want two way communication between matlab and VC. I have used matlab engine interface (invoking matlab engine from VC) and its working fine. However, I am unable to transfer data from matlab to VC. Thats why I need matlab.h file. Any help in this regard will be useful.
Kaustubha Govind
Kaustubha Govind 2013년 9월 20일
You can use engGetVariable to get a variable from the MATLAB workspace into your C application.

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

카테고리

Help CenterFile Exchange에서 Call C++ from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by