"sf_intern​al_predica​teOutput" outputs in workspace during model simulation??

1 回表示 (過去 30 日間)
Song Decn
Song Decn 2018 年 2 月 17 日
編集済み: Linus 2019 年 3 月 22 日
Hi, if I run my model, there are lots of following messages showing in workspace. Does anyone know how I can change my model to delete these messages?? Thanks
sf_internal_predicateOutput =
0
sf_internal_predicateOutput =
1
sf_internal_predicateOutput =
0
sf_internal_predicateOutput =
0
sf_internal_predicateOutput =
0
  2 件のコメント
Jan Schnee
Jan Schnee 2018 年 3 月 22 日
Hey, you are not alone, I have the same messages and have not found a solution yet. So hopefully someone has a solution soon.
Jing Ou
Jing Ou 2018 年 9 月 5 日
same here.

サインインしてコメントする。

採用された回答

Fl0w
Fl0w 2018 年 9 月 12 日
I had this problem with a transition guard looking like this: [after(3,tick), receive(my_msg)]
It wasn't working as intended either and I changed it to this expression: [after(3,tick) && receive(my_msg)]
After that the messages disappeared. So I'm guessing in the first expression the message receival isn't part of the condition but rather an action that somehow gets executed after the time check. And that action doesn't have a semicolon after it, so its return value gets printed.
  1 件のコメント
Linus
Linus 2019 年 3 月 22 日
編集済み: Linus 2019 年 3 月 22 日
Know the question is old, but reached this during searching, so adding my 2 cents.
Had the same problem and made a similar change to get it to work:
changed:
[...
value > low_ limit &&...
value < high_limit ...
]
to:
[value > low_ limit &&...
value < high_limit]
In a stateflow-transition

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange复杂逻辑 についてさらに検索

Community Treasure Hunt

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

Start Hunting!