view .mexw32 (MEXW32 File) in Matlab R2011a
显示 更早的评论
How can I view a file with ".mexw32" extension in Matlab R2011a? When I run it, this message appears:
??? Error using ==> Nonlin_Block15 MEX level2 S-function "Nonlin_Block15" must be called with at least 4 right hand arguments
What can I do?
采纳的回答
更多回答(2 个)
Andreas Goser
2012-7-16
编辑:Andreas Goser
2012-7-16
0 个投票
You can't view this file - or at least it would mean nothing to you.
You can view and edit the source code likely a C code.
So for myname.mexw32, it is myname.c
3 个评论
Mohammad Sadegh
2012-7-16
Andreas Goser
2012-7-16
Then you need to contact the author of the s function. One of multiple reasons for s fucntions is IP protection.
Mohammad Sadegh
2012-7-16
Kaustubha Govind
2012-7-16
0 个投票
It looks like what you have is an S-function. You cannot run an S-function directly from MATLAB, it can only be called using an S-function block in Simulink.
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!