Borrar filtros
Borrar filtros

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

37 visualizaciones (últimos 30 días)
KKE
KKE el 25 de Feb. de 2024
Comentada: Lance el 2 de Jul. de 2024 a las 7:07

Respuestas (1)

Saurav
Saurav el 11 de Mzo. de 2024
Editada: Saurav el 14 de Mzo. de 2024
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 comentario
Lance
Lance el 2 de Jul. de 2024 a las 7:07
Thank you very much!

Iniciar sesión para comentar.

Categorías

Más información sobre Data Logging en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!