mexの例文でどのよ​うにMATLAB変数​を取得していますか?

mathworksのmexについての説明で、以下のcコードをmexしますが、
このコードのどこで
T=1;
Y=1:4;
yprime(T,Y)
TとYを取得してるのでしょうか?
著作権がなんやら言ってるのでコードけしました
copyfile(fullfile(matlabroot,'extern','examples','mex','yprime.c'),'.','f')
このyprime.cです。

2 Commenti

Yoshio
Yoshio il 1 Ott 2019
Webで公開されている以外の、製品付属のコードの公開は著作権の侵害となりますので、削除願います。
qrqr
qrqr il 1 Ott 2019
Modificato: qrqr il 2 Ott 2019
MATLABを買ってない人が見れるから著作権の侵害になるのですか

Accedi per commentare.

 Risposta accettata

Kazuya
Kazuya il 1 Ott 2019
Modificato: Kazuya il 1 Ott 2019

0 voti

void mexFunction( int nlhs, mxArray *plhs[],
int nrhs, const mxArray*prhs[] )
の mxArray *prhs が入力変数へのポインターとなっています。

1 Commento

qrqr
qrqr il 2 Ott 2019
ありがとうございます。

Accedi per commentare.

Più risposte (0)

Prodotti

Tag

Richiesto:

il 1 Ott 2019

Commentato:

il 2 Ott 2019

Community Treasure Hunt

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

Start Hunting!