How to pass string to matlab function in C programs

Hi all,
I wanna pass string argument(such as the path name)to matlab function which is called in my C program. But I know matlab can only accept matrix as the input/output argument, such as mwArray or mxArray. So how to do that?
Thanks.

댓글 수: 2

TAB
TAB 2012년 9월 7일
Why same repeated question ?
Have no idea about it, I just edit it.

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

답변 (1개)

José-Luis
José-Luis 2012년 9월 7일
편집: José-Luis 2012년 9월 9일

0 개 추천

An mxArray can also contain a string. An mxArray is a structure that wraps everything (nicely?):

카테고리

도움말 센터File Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

질문:

2012년 9월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by