Passing Strings as StateFlow Graphical Functions' parameters
古いコメントを表示
Hi, I have developed a library of StateFlow Graphical Functions that act as wrappers for some C functions. In my C functions, I have to pass some String parameters but this is not allowed in StateFlow Graphical Functions. Is there a workaround for this?
PS: I also cannot use
ml.myStr='Say Something';
and then call:
mySFGF(ml.myStr);
Again, not allowed.
Thanks Ramtin
回答 (1 件)
Teresa Hubscher-Younger
約15時間 前
0 投票
Have you tried passing it as a local string variable? (See https://www.mathworks.com/matlabcentral/answers/460237-stateflow-passing-strings-as-input-to-graphical-functions)
-Teresa
カテゴリ
ヘルプ センター および File Exchange で Decision Logic についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!