Afficher commentaires plus anciens
Good afternoon! Halp please, I try to connect s-function, but there is a following error... I do not know as with it to struggle. I will be grateful for any help :)
Error in ' modl/S-Function ' while executing MATLAB S-function ' my ', flag = 3 (output), at time 0.0.
Invalid MEX-file ' C:\Program Files\MATLAB\R2010b\work\tiphak.dll ':.
I have Windows 7 32-bit, Matlab r2010b
Réponse acceptée
Plus de réponses (2)
Andreas Goser
le 27 Fév 2011
0 votes
On Win32 and R2010b, the extension of a MEX file / C MEX S-Function should be MEXW32.
If you have a DLL instead, this could be an S-Function from an older relase you either created yourself or retrieved from somebody else. Please re-generate the S-Function with the MEX command and the C source code.
Natalia
le 27 Fév 2011
0 votes
2 commentaires
Andreas Goser
le 27 Fév 2011
"Has been made"? Maybe in is not an S-Function at all, but a "generic DLL"? Do you have the source code and is it of S-Function syntax?
Natalia
le 27 Fév 2011
Catégories
En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!