필터 지우기
필터 지우기

how to name states and outputs in level 1 sfunction

조회 수: 1 (최근 30일)
Shyam Mudiraj
Shyam Mudiraj 2013년 3월 9일
Is there a way to give names to states and outputs in level 1 sfunction in simulink?
  댓글 수: 2
Walter Roberson
Walter Roberson 2013년 3월 9일
Is there a reason you are using Level 1 sfunctions ? Mathworks recommends that only Level 2 functions are to be used.
Shyam Mudiraj
Shyam Mudiraj 2013년 3월 11일
I have a code from someone else written using level 1 sfunction. I am trying to make it easy for myself by adding the signal names.

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

채택된 답변

Kaustubha Govind
Kaustubha Govind 2013년 3월 11일
I'm not 100% sure, but my best guess is that there isn't a way to name them in Level-1 S-functions. You may find it fairly simple to convert it to a Level-2 S-function however, when you can assign names.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by