Why do I get the Simulink error: "Cannot create variable 'streamout' in workspace"

12 次查看(过去 30 天)
Hello,
I am receiving the follwoing error when I run my Simulink model:
Cannot create variable 'streamout' in workspace
Caused by:
An internal error has occurred. Restart MATLAB before proceeding. If this problem persists, please contact MathWorks.
It keeps happening also after restarting Matlab. I have removed all the "To Workspace" objects and replaced them with "out" objects, but it still gives me this error.
Does anyone know how to solve this please?
I have Matlab R2016

回答(1 个)

Guy Rouleau
Guy Rouleau 2021-11-23
编辑:Guy Rouleau 2021-11-23
"streamout" is from a realtively old version, around R2016. I would recommend upgrading.
If not possible, look in your "tempdir" and try deleting any files with a DMR extension.

类别

Help CenterFile Exchange 中查找有关 Licensing on Cloud Platforms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by