s-function
Show older comments
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
Accepted Answer
More Answers (2)
Andreas Goser
on 27 Feb 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
on 27 Feb 2011
0 votes
2 Comments
Andreas Goser
on 27 Feb 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
on 27 Feb 2011
Categories
Find more on Simulink Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!