not saving data in workspace

26 次查看(过去 30 天)
Jack Daniels
Jack Daniels 2025-11-27,16:26
回答: Paul 2025-11-27,16:41
I have set scope to log data to workspace but afer simulation I can't see them why?

回答(1 个)

Paul
Paul 2025-11-27,16:41
Proabably because the model is set for a single simulation output.
Go to: Model Settings -> Data Import/Export
If the box is checked for "Single simulation output" then the variable named in that field (the default is 'out') should be in the base workspace (assuming the simulation is run by clicking the Play button and all other default settings) and the Currs dataset should be in that output variable.

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by