Define several functions in s-function builder
이전 댓글 표시
How can i define and use several functions within an s-function builder block?
I use the s-function builder to include arduino Code. But these functions use sub functions. If i define then in the ouput Tab ob the s-function builder, those functions are finally defined within a function of the s-function which leads to an error. My solution so far is to build that s-function and manually edit (and rename to cpp) the c-file afterwards before building the model.
Is there another way to define those additional functions within the s-function builder?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File 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!