由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Computation版 - Simulink M file based S-function 多个输入输出的问题
相关主题
问大侠Matlab编译成C的问题还有个问题
Re: help on interface for Matlab and ForCan ode45 in matlab use fixed time steps?
Problem with custom compiled matlab C mex file using MFC DLL从一开始就得把计算机语言选定;否则太浪费时间了;
[转载] 老问题,新问!是matlab还是我太笨了!为什么同时run两个matlab会比较慢?
[转载] [求助]如何加快S函数在Simulink中的运行速度想要这样的画,用matlab应该可以做的吧
[转载]What's New in Release 2007a请教一个小问题
如何在matlab中sample随机过程C++ output format problem
有没有matlab大牛帮我分析一下idb problem
相关话题的讨论汇总
话题: simulink话题: function话题: based话题: file话题: template
进入Computation版参与讨论
1 (共1页)
p*s
发帖数: 30
1
I am writing an M-file based s-function in Simulink, I need multi-outputs.
The documentation is poor, I think, mabye I just don't have the patience to
go through all the corners to find my answer.
anyway, I figured it out by try and error. I list my solution here, hope
it helps.
Simulink provides a standard template, which is too complicated and not very
well explained. For my application, I just use the 'timestwo' example as the
template.
Following those steps,
Inside the s-function
(1) go to t
c****w
发帖数: 565
2
if you want to go with s-function for your rest of research life, i strongly
suggest you learn C-type s-function. That will give you more flexiblity.
Long time ago, I made a common comment on it, you can check here:
http://www.simwe.com/forum/viewthread.php?tid=205002
1 (共1页)
进入Computation版参与讨论
相关主题
idb problem[转载] [求助]如何加快S函数在Simulink中的运行速度
what's the standard ouput of gaussian[转载]What's New in Release 2007a
test如何在matlab中sample随机过程
急问一个面试题,不知该如何回答?请高人给个思路!谢谢!有没有matlab大牛帮我分析一下
问大侠Matlab编译成C的问题还有个问题
Re: help on interface for Matlab and ForCan ode45 in matlab use fixed time steps?
Problem with custom compiled matlab C mex file using MFC DLL从一开始就得把计算机语言选定;否则太浪费时间了;
[转载] 老问题,新问!是matlab还是我太笨了!为什么同时run两个matlab会比较慢?
相关话题的讨论汇总
话题: simulink话题: function话题: based话题: file话题: template