Error in Simulink: Undefined function or variable 'uniqueOutput'
4 次查看(过去 30 天)
显示 更早的评论
Hello
I get the same error mentioned in this question https://de.mathworks.com/matlabcentral/answers/381476-error-in-simulink-undefined-function-or-variable-uniqueoutput 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 个评论
Adrian Remirez Jauregui
2021-3-1
Hello
I get the same problem under the same circunstances.
Has someone succeeded in solving this error?
Thanks in advance
AR
回答(1 个)
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).
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/387398/image.jpeg)
Thanks
Hope it helps!!
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Environment Customization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!