필터 지우기
필터 지우기

MEX level2 S-function "sfunc_basic" must be called with at least 4 right hand arguments

조회 수: 19 (최근 30일)
Can any one please explain me what does this error mean. I tried to google it but could not find anything relevant. I get this while running the Simulink(mexing the file does not throw any error).
  댓글 수: 1
Sebastian Dietz
Sebastian Dietz 2015년 12월 16일
I got the same error, when I try to generate a .tlc-file for my C S-Function. I need the .tlc, because I use a selfwritten S-Function for TCP-communication on a RasPi and when I try to deploy it to the Hardware I got an error, that my SFcn has to be inlined.
Any solutions?

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

채택된 답변

Kaustubha Govind
Kaustubha Govind 2013년 9월 16일
I suspect you are mistakenly using the S-function block for a Level-2 S-function, or a Level-2 MATLAB S-Function block for a Level-1 S-function. Try switching to the other block and see if the error goes away.

추가 답변 (0개)

제품

Community Treasure Hunt

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

Start Hunting!

Translated by