(Undefined variable "Simulink" or class "Simulink.​data.dicti​onary.getO​penDiction​aryPaths") error on 2015b but not on 2016b, in the same machine

6 次查看(过去 30 天)
Hi,
I'm getting "Undefined variable "Simulink" or class "Simulink.data.dictionary.getOpenDictionaryPaths"" when using Matlab 2015b while, in the same machine, using 2016b this is executed successfuly.
I can still open Simulink and compile just fine, the issue is only on executing Simulink.data.dictionary commands.
I tried setting the path back to default settings, running as an admin and the error returned is always the same.
If you know what's causing this issue please let me know.
Kind Regards
Celso

采纳的回答

Vijaya Lakshmi Chagi
Hi Celso,
The commands, "Simulink.data.dictionary.getOpenDictionaryPaths" was introduced in R2016b version of MATLAB. Hence the MATLAB is not able to recognize this command in R2015b version.
You can find the more information about the release date on this command in the following documentaion page(at the bottom of the page) : https://www.mathworks.com/help/simulink/slref/simulink.data.dictionary.getopendictionarypaths.html#bu4usx4-1_seealso
Hope the above information helps you.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

标签

产品


版本

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by