How can we create simulink block using .m file ?
4 次查看(过去 30 天)
显示 更早的评论
I have written a compression code in matlab which I have to run it on Raspberry pi. My project consists of many .m files and want to create my own blocks and come out with Simulink model. Is there any way to create own Simulink blocks and set our own parameters?
1 个评论
Anuja Vats
2017-8-1
I am doing something similar to you, have an image processing algorithm as m file (calling other functions in it) to be run on raspberry pi stand alone. Pleas let me know what worked best for you for creating the simulink model.
采纳的回答
User_in_Gim
2017-4-6
Maybe you can find what you want with S-Function or Matlab function in the User-definied Functions library.
2 个评论
User_in_Gim
2017-4-6
S-Function will do the job, actually I'm using this block to call some of my c functions ( one function calling all he others).
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!