MATLAB Answers

Error in Simulink: Undefined function or variable 'uniqueOutput'

15 views (last 30 days)
Yannik on 16 Oct 2020
I get the same error mentioned in this question every time i want to simulate a Model on a web drive (unrecognized function or variable 'uniqueOutput'). If I change the working directory to be on C:\ the models run without a problem even without reopen Simulink. It happens also with very basic models created with the same Matlab version on my computer. With my old computer and Version R2019b it worked fine in both locations.
Thank you in advance
  1 Comment
Adrian Remirez Jauregui
Adrian Remirez Jauregui on 1 Mar 2021
I get the same problem under the same circunstances.
Has someone succeeded in solving this error?
Thanks in advance

Sign in to comment.

Answers (1)

Prabhan Purwar
Prabhan Purwar on 21 Oct 2020
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).
Hope it helps!!
  1 Comment
Yannik on 29 Oct 2020
Thank you for your answer but unfortunately it did not solve the problem.

Sign in to comment.




Community Treasure Hunt

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

Start Hunting!