フィルターのクリア

S-function in C++

3 ビュー (過去 30 日間)
iba
iba 2019 年 5 月 10 日
I have a MexFunction in C++ which I want to call from a Simulink S-function. It builds fine when typing mex functionname.cpp, and can be called from MATLAB with commands like functionname('updatenetwork') (the function has different "methods" within it, where updatenetwork is an example of one)
How can I call this function from an S-function? The S-function also needs to be in C/C++ as I need to build the model. Have been trying to figure this out using the S-function builder block and the wrapper function, without success.
Thanks in advance!

採用された回答

Zenin Easa Panthakkalakath
Zenin Easa Panthakkalakath 2019 年 5 月 13 日

その他の回答 (0 件)

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by