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!