Info

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

Error when running certain function

1 次查看(过去 30 天)
Vishal Thiruvedula
Vishal Thiruvedula 2016-10-17
关闭: MATLAB Answer Bot 2021-8-20
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?

回答(1 个)

Massimo Zanetti
Massimo Zanetti 2016-10-17
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 个评论
Massimo Zanetti
Massimo Zanetti 2016-10-17
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
Walter Roberson 2016-10-17
On your work system, please show the output of
which today
You might be picking up the function from a different piece of software.

此问题已关闭。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by