Info

此问题已关闭。 请重新打开它进行编辑或回答。

Startup.m works well in 2016a but not in 2017a

1 次查看(过去 30 天)
My startup.m works well in 2016a but not in 2017a. It issues a variable or function not defined error in 2017a. I did indeed do an import line before running the function. Here is the two lines: import A.* A.func; I wonder why and how to fix this. Thanks!

回答(1 个)

Star Strider
Star Strider 2017-10-9
See the Release Notes — Advanced Software Development for changes in the way the import function is now implemented in R2016b and later releases. You may have to change the way you call it. (I don’t use the function, so I cannot comment further.)
  2 个评论
JFz
JFz 2017-10-9
Thanks. Let me take a look at the import function definition.
Star Strider
Star Strider 2017-10-9
My pleasure.
I’ve had to change my startup.m over the past 15+ years to allow for changed and deprecated functions.

标签

尚未输入任何标签。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by