I wrote a simple C program which takes a command line argument and displays that argument:
#includeNow I want to run this program from within Matlab using the system() function:
x=3.14;cmd=['/path/to/program/./test',x];[status,cmdout]=system(cmd)This doesn't seem to work when I try it. I really don't know how to solve this. I'm using a Mac. Thanks in advance.
ليست هناك تعليقات:
إرسال تعليق