Roney Michael
Roney Michael

Reputation: 3994

'Symbolic Math Toolbox' functions exist in MATLAB but not in the documentation

This problem may seem a bit weird; please bear with me.

When I try to access any function in the 'Symbolic Math Toolbox' in MATLAB, such as help ztrans or help laplace, I get the following kind of message

ztrans not found.

Use the Help browser Search tab to search the documentation, or
type "help help" for help command options, such as help for methods.

However, the toolbox seems to be installed when I try the ver or pathtool command.

Moreover, when I try some simple code such as:

>> syms k x
>> f = sin(k);
>> ztrans(f, k, x)

the code works fine and on trying the help command again, they seem to work fine as well. However, the problem again arises when I close and reopen MATLAB.

I found a few instances of other users facing similar problems on the Mathworks portal, but none of them seemed to provide any concrete solutions. Some of them seem to blame it on MATLAB hashing the tollbox incorrectly, so I tried the rehash toolbox command as well, but had no luck.

I'm not sure if this problem is just for this particular toolbox or not, but the other toolboxes I use at least seem to work fine.

EDIT-I

I also realised that the documentation is always available when I take Help --> Product Help from the menu-bar, though it is not available in the function browser even after I try the sample code.

EDIT-II

>> license('checkout','Symbolic_Toolbox')

gives me

ans =

     1

I'm not working on a student license either.

Upvotes: 3

Views: 8004

Answers (1)

tashuhka
tashuhka

Reputation: 5126

It could be a license issue. Try to get further information with:

license('inuse')

If you have a Student version, some functions cannot be executed.

istudent

In case that you are in an office/university, and you have floating licenses. Be sure to check-out all the licenses before running your code.

license('checkout','toolbox_name')

Upvotes: 1

Related Questions