Error in Simulink: Undefined function or variable 'uniqueOutput'

2 次查看(过去 30 天)
I am getting the error below with every simulink model, I try to run on my computer. Even with the examples from the documentation. I also reinstalled Matlab and Simulink but but keep getting the error.
Undefined function or variable 'uniqueOutput'. Component: Simulink | Category: Model error
Does someone know, how to solve this problem?
  5 个评论
Zhenkun Yang
Zhenkun Yang 2020-9-6
I met the same problem and take the same action as you did, reintallisation doesn't work.
I finally solve this problem by moving the MATLAB running folder to the C drive. I used to run on the web drive, that doesn't allow the simulink to run.
Adrian Remirez Jauregui
Anyone who could solve the problem withput moving files out from a web drive?

请先登录,再进行评论。

回答(2 个)

Benjamin Frazer
Benjamin Frazer 2019-4-8
Hi, same problem.
Definately seems to be a problem with models created in 2017b and used on other versions.

Prabhan Purwar
Prabhan Purwar 2020-10-21
Hey,
The following steps may help in resolving the issue.
Under MATLAB Preferences > General settings, change the default path for the "Initial working folder" to be a known path (for example C:\Users\username\Documents\MATLAB or C:\temp).
Thanks
Hope it helps!!
  1 个评论
Mili Mukherjee
Mili Mukherjee 2021-9-16
编辑:Mili Mukherjee 2021-9-16
I am getting the error below with every simulink model, I try to run on my computer. Even with the examples from the documentation. I also reinstalled Matlab and Simulink but but keep getting the error.
Undefined function or variable 'uniqueOutput' in R2018b.
I tried with the mentioned suggestion and it didn't work.
Can anyone from MATHWorks help?

请先登录,再进行评论。

类别

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

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by