calling mex function from Simulink

2 vues (au cours des 30 derniers jours)
Frederic Fourmaux
Frederic Fourmaux le 5 Déc 2019
Réponse apportée : galaxy le 6 Déc 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.

Réponses (1)

galaxy
galaxy le 6 Déc 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.

Catégories

En savoir plus sur Block and Blockset Authoring dans Help Center et File Exchange

Produits


Version

R13SP1

Community Treasure Hunt

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

Start Hunting!

Translated by