开发者

Convert function to Simulink block

开发者 https://www.devze.com 2022-12-20 01:29 出处:网络
How do I convert from a开发者_StackOverflow中文版 function, that I have written as an m-file, into a block in a Simulink model?There\'s a video here that shows some options. Basically, use the MATLAB

How do I convert from a开发者_StackOverflow中文版 function, that I have written as an m-file, into a block in a Simulink model?


There's a video here that shows some options. Basically, use the MATLAB Function block. Or, if you want to keep the code separate (and don't care about code generation), you can use the MATLAB Interpreted Function block.

0

精彩评论

暂无评论...
验证码 换一张
取 消