フィルターのクリア

shared variable mex file and workspace

1 回表示 (過去 30 日間)
XAXRXTX
XAXRXTX 2014 年 2 月 5 日
i have 2 questions about passing parameters between workspace and mex function
1 - how i can share a same variable between them
2 - i have a mex function y = myfunction(a, b, c) within a for loop, and i want to evaluate at each iteration the value of y, but c is a constant and i want to passe him only in the first iteration, how i can do that (passing parameter at one time).
thanks.

回答 (0 件)

カテゴリ

Help Center および File ExchangeWrite C Functions Callable from MATLAB (MEX Files) についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by