not saving data in workspace

25 views (last 30 days)
Jack Daniels
Jack Daniels on 27 Nov 2025 at 16:26
Answered: Paul on 27 Nov 2025 at 16:41
I have set scope to log data to workspace but afer simulation I can't see them why?

Answers (1)

Paul
Paul on 27 Nov 2025 at 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.

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!