why it show 'out.simout' but my friend MATLAB not showing 'out.'.how should i do to change it

 Réponse acceptée

Atsushi Ueno
Atsushi Ueno le 17 Avr 2021
Modifié(e) : Atsushi Ueno le 17 Avr 2021

14 votes

>what does mean out.simout
It means that variable "simout" is a member of variable "out".
>why it show 'out.simout'
Please check your model configulation. "Configuration Parameters" - "Data Import/Export" - "Save to workspace or file" - "Single simulation output" must be checked and the variable name must be "out".
>how should i do to change it
If you remove the check, then you can get variable "simout" in your MATLAB workspace.

6 commentaires

Atsushi Ueno
Atsushi Ueno le 17 Avr 2021
Simulink Release Notes
R2019a
Return simulation outputs as a single simulation output by default for new Simulink models
For simulation of new Simulink models, the output is returned as a single output object, Simulink.SimulationOutput. The Simulink.SimulationOutput object encapsulates all the resulting enabled simulation data (signal, state, output, data store logging, toworkspace block logging, and scope). To follow the same behavior while simulating with the sim command, ReturnWorkspaceOutputs is set to On by default.
Compatibility Considerations
For Simulink models built in previous releases, ReturnWorkspaceOutputs argument remains off. Set the ReturnWorkspaceOutputs argument to on to return the simulation result as a single output object.
Atsushi Ueno
Atsushi Ueno le 17 Avr 2021
I guess your friend's MATLAB is before R2018b.
Luqman Hakim
Luqman Hakim le 18 Avr 2021
thank you for help me. this method help me
Muhammed Ata SENER
Muhammed Ata SENER le 12 Mai 2021
thank you so much sir, i'd been stucked there.
emma play
emma play le 12 Sep 2021
thank you!
Nitish
Nitish le 4 Jan 2024
Thank you!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by