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

조회 수: 39 (최근 30일)
KKE
KKE 2024년 2월 25일
댓글: Vincent 2024년 12월 17일 9:58

답변 (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!
  댓글 수: 2
Lance
Lance 2024년 7월 2일
Thank you very much!
Vincent
Vincent 2024년 12월 17일 9:58
Thanks for the reply tomb of the mask.

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

카테고리

Help CenterFile Exchange에서 Big Data Processing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!