Error when running certain function
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Hello all
I am running some simple functions such as today() and weeknum() on matlab 2016b and get the following error message.
*To use 'weeknum', the following product must be both licensed and installed: Financial Toolbox*
I already verified the path of matlab to make sure its setup correctly.
Can anyone please advice on how to fix this issue?
Answers (1)
Massimo Zanetti
on 17 Oct 2016
Type the command
ver
in the command line, and check in the list if Financial Toolbox is there. If not, you need to install it.
3 Comments
Vishal Thiruvedula
on 17 Oct 2016
Massimo Zanetti
on 17 Oct 2016
Are you sure your Matlab 2012b has not Financial toolbox installed? According to documentation, also in Matlab 2012b the weeknum function is under the Financial toolbox..
Have you checked running VER in the old version?
Walter Roberson
on 17 Oct 2016
On your work system, please show the output of
which today
You might be picking up the function from a different piece of software.
This question is closed.
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!