calling mex function from Simulink

I have a mex-fille build from C. I want to use it in Simulink but do I need to re write a S-function? I have tried to call without success a Matlab function.

回答 (1 件)

galaxy
galaxy 2019 年 12 月 6 日

0 投票

After you build mexw64 file successful, you can use S-Function block
if not, you need to build mex file by mex from S-function file.

カテゴリ

ヘルプ センター および File ExchangeSimulink Coder についてさらに検索

製品

リリース

R13SP1

質問済み:

2019 年 12 月 5 日

回答済み:

2019 年 12 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by