simscope的simscope results显示是​灰色无法点击使用,这​个功能是需要满足特定​条件后才能启动吗

24 ビュー (過去 30 日間)
KKE
KKE 2024 年 2 月 25 日
コメント済み: Lance 2024 年 7 月 2 日

回答 (1 件)

Saurav
Saurav 2024 年 3 月 11 日
編集済み: Saurav 2024 年 3 月 14 日
Hello,
由于我的母语不是中文,我将尝试用英语回答这个问题。感谢您的理解。
I understand that the ‘Simscape Results Explorer’ under the ‘Review Results’ on the Simulation tab of the model window is grayed out and unclickable.
This happens if the simulation did not run successfully or if the necessary condition such as ‘Enabling data logging’ for viewing the results was not met.
Here are the steps to address the issue:
  1. Run the simulation: Ensure that the simulation ran successfully. The "Simscape Results" option becomes available only after a successful simulation. Check the Diagnostic Viewer for any errors or warnings that might indicate why a simulation didn't run as expected.
  2. Enabling data logging: Before running the simulation, ensure that data logging is enabled. Set up the model to log simulation data, either for the whole model or on a block-by-block basis. Here is how you can enable the ‘log Simulation Data’ for the whole model.
a) Navigate to the ‘Modelling' tab > 'Model Configuration Parameters'. You can also use CTRL+E to open it directly.
b) Set the ‘Log Simulation data’ to ‘All’ from the drop-down menu on the “Simscape” pane of the Configuration Parameters dialog box.
c) Enable data streaming by selecting the ‘Record data in Simulation Data Inspector’ check box.
Note: Simulation data logging is not supported for:
  • Model reference
  • Generated code
Refer the following links for more information on:
  • · To log the data for selected blocks only:
  • · Data logging in ‘Simscape’:
Hope this helps!
  1 件のコメント
Lance
Lance 2024 年 7 月 2 日
Thank you very much!

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

カテゴリ

Help Center および File ExchangeBig Data Processing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!