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

13 ビュー (過去 30 日間)
Amodio Palma
Amodio Palma 2021 年 8 月 26 日
編集済み: Guy Rouleau 2021 年 11 月 23 日
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.

Community Treasure Hunt

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

Start Hunting!

Translated by