필터 지우기
필터 지우기

"enter value" command in embedded matlab function

조회 수: 1 (최근 30일)
yana osman
yana osman 2012년 7월 12일
hi everyone,
i have a constant value which is change depends on new input and user need to write the new value. I tried to write command in embedded matlab function as below but failed. Anyone have ideas?Hope can help me
function Tjacket = fcn
%#eml
Tjacket = 'please enter value'
  댓글 수: 1
TAB
TAB 2012년 7월 12일
편집: TAB 2012년 7월 12일
  • constant value can not be changed during simulation.
  • Tjacket = 'please enter value' --- simulink not supports the string type, so you can't out a string from embedded matlab function block.

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

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by