MATLAB Answers

Error in Simulink: Undefined function or variable 'uniqueOutput'

50 views (last 30 days)
Anselm
Anselm on 8 Feb 2018
Edited: Mili Mukherjee on 16 Sep 2021 at 12:58
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 Comments
Adrian Remirez Jauregui
Adrian Remirez Jauregui on 10 Mar 2021
Anyone who could solve the problem withput moving files out from a web drive?

Sign in to comment.

Answers (2)

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

Prabhan Purwar
Prabhan Purwar on 21 Oct 2020
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 Comment
Mili Mukherjee
Mili Mukherjee on 16 Sep 2021 at 12:58
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?

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!