Problem with bdttimesspec (and more generally Matlab toolbox functions)

1 view (last 30 days)
Hello,
When I tape the code bellow i have an error message (Undefined function 'bdttimespec' for input arguments of type 'char').
Compounding = 1;
ValuationDate = '01-01-2000';
Maturity = ['01-01-2001'; '01-01-2002'; '01-01-2003';
'01-01-2004'; '01-01-2005'];
TimeSpec = bdttimespec(ValuationDate, Maturity, Compounding)
Can you please help me to solve this problem ?
Kind regards.
  3 Comments
Jean-Michel
Jean-Michel on 22 Sep 2014
Thank you Geoff for your answer.
When I type ver, i have the following answer : MATLAB Version: 8.1.0.604 (R2013a) MATLAB License Number: •••••• Operating System: Microsoft Windows 7 Version 6.1 (Build 7601: Service Pack 1) Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot™ Client VM mixed mode ------------------------------------------------------------------------------------------------ MATLAB Version 8.1 (R2013a) Database Toolbox Version 4.1 (R2013a) Econometrics Toolbox Version 2.3 (R2013a) Financial Instruments Toolbox Version 1.1 (R2013a) Financial Toolbox Version 5.1 (R2013a) MATLAB Builder EX Version 2.3.1 (R2013a) MATLAB Builder NE Version 4.1.3 (R2013a) MATLAB Compiler Version 4.18.1 (R2013a) Optimization Toolbox Version 6.3 (R2013a) Spreadsheet Link EX Version 3.1.7 (R2013a) Statistics Toolbox Version 8.2 (R2013a) >>
With bdttimespec :
\\ntboi06\appli\MATLAB\R2013a\toolbox\fininst\fininst\bdttimespec.m % Has no license available
Is it possible to have the function on the toolbox without license ?
Thank you.
Geoff Hayes
Geoff Hayes on 22 Sep 2014
I'm not familiar enough with this type of error to give a good answer (and I have no toolboxes so I don't know what happens when its license expires). The link common errors when calling functions has a section called Verify that Your License Covers The Toolbox so you could look at that and see if it applies to you.
Else, hopefully someone else who has experience with the Has no license available error will be able to provide some guidance.

Sign in to comment.

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!