필터 지우기
필터 지우기

Is there any S function available other than Level 2 M file S function to access data from GUI?

조회 수: 4 (최근 30일)
Hello all,
Is there any S function available other than Level 2 M file S function to access data from GUI? Because am facing issue in code generation for Level 2 M file S function. Its asking tlc file...... Any other method to access GUI data......?
Please help me in this. Thanks in advance
  댓글 수: 3
vinothkannan K
vinothkannan K 2013년 5월 11일
Actually its Check box, it will enable the model when user select it from GUI.. For this interaction we are using Level 2 M file S Function
Kaustubha Govind
Kaustubha Govind 2013년 5월 13일
So does the S-function even have an output signal? If so, how is the output value computed?

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

답변 (1개)

David Sanchez
David Sanchez 2013년 5월 10일
Take a look at the help of set_param function. It is used to set parameters in simulink models and can be used in GUIs with no problem.
  댓글 수: 1
vinothkannan K
vinothkannan K 2013년 5월 10일
Hi David Sanchez, Thanks for your reply currently we are using set_param function only.... But for the interaction of model with GUI we are using Level 2 M file S function. Here only we are facing issue like to generate code for the Level 2 M file S function we need to wite tlc. . I dont want Level 2 M file S function..... can you please tel me anyother way to interact GUI and model?

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

카테고리

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