필터 지우기
필터 지우기

Creation of C file S-function using S function builder

조회 수: 3 (최근 30일)
sai vasavi
sai vasavi 2012년 9월 25일
Hello Matlab Community, I developed one algorithm in C.Now I want to create S function for those C files to use that code in simulink. How can I do this by using S function builder block .Please can anyone help me in doing this. Regards Sai

답변 (1개)

TAB
TAB 2012년 9월 25일
Go with Legacy Code Tool instead of using s-functiuon builder.
Legacy Code Tool is used to integrate existing C functions/routines into simulink.
It generates a c-mex s-function and inlinig TLC file which calls your existing C code.
  댓글 수: 2
sai vasavi
sai vasavi 2012년 9월 25일
Hi TAB, Thanks for your quick reply. I working on 7.3(R2006b) matlab version.I think this version doesn't support legacy code tool.Hence I thought of creating S function using S function builder.Please Help me in creating S function using S function builder.
sai vasavi
sai vasavi 2012년 9월 25일
Hi TAB, Sorry for my comment.I think this version is supporting legacy code tool.I will go through the link which you attached in your comment. Thank you so much for reply.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Author Blocks Using S-Function Builder에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by