readvars not a deifned function?
Show older comments
I keep getting the same error with readvars. Anyone know how to fix it?
[system, stiffness, time, mass] = readvars('hw4_q1.xlsx');
Undefined function or variable 'readvars'.
data table
1 10 4 10.9147000000000
2 8 8 11.1058000000000
3 2 1 10.4270000000000
4 5 5 11.3134000000000
5 3 4 11.1324000000000
6 5 2 10.6975000000000
7 9 0 10.9785000000000
8 10 1 11.3469000000000
9 20 3 11.8575000000000
10 11 20 11.9649000000000
1 Comment
Daniel M
on 23 Oct 2019
What is the output of
which readvars
Answers (1)
Star Strider
on 23 Oct 2019
1 vote
The readvars function was introduced in R2019a. If you are using R2018b or earlier, you will not be able to use it.
The solution is to upgrade to the current version, R2019b.
Categories
Find more on Database Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!