Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
JFz
JFz on 9 Oct 2017
Closed: MATLAB Answer Bot on 20 Aug 2021
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!

Answers (1)

Star Strider
Star Strider on 9 Oct 2017
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 Comments
JFz
JFz on 9 Oct 2017
Thanks. Let me take a look at the import function definition.
Star Strider
Star Strider on 9 Oct 2017
My pleasure.
I’ve had to change my startup.m over the past 15+ years to allow for changed and deprecated functions.

Tags

No tags entered yet.

Products

Community Treasure Hunt

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

Start Hunting!