calling mex function from Simulink

3 Ansichten (letzte 30 Tage)
Frederic Fourmaux
Frederic Fourmaux am 5 Dez. 2019
Beantwortet: galaxy am 6 Dez. 2019
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.

Antworten (1)

galaxy
galaxy am 6 Dez. 2019
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.

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Produkte


Version

R13SP1

Community Treasure Hunt

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

Start Hunting!

Translated by