"enter value" command in embedded matlab function

1 vue (au cours des 30 derniers jours)
yana osman
yana osman le 12 Juil 2012
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 commentaire
TAB
TAB le 12 Juil 2012
Modifié(e) : TAB le 12 Juil 2012
  • 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.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by