2008-06-15から1日間の記事一覧

C言語で書いてMATLABで実行する

まずはサンプルコードMATLABとC言語の間のデータの受け渡しを理解しよう まずは下記のC言語のソースコードを読んで欲しい #include <stdio.h> #include <math.h> #include "mex.h" int n,x,y,z,a,x_size,y_size,z_size; int *prdims0, *pldims0, *pldims1; double *S, *S_new,</math.h></stdio.h>…