I\'m trying to list classes I created in some folder in my Matlab folder - using only their name (class name)
as an example, I have a class called \'SimpleString\' -
Use str2func to get a function handle to the constructor. You can then call it with whatever arguments are appropriate.
>> m = str2func('containers.Map')
m =
@containers.Map
>> x = m({'foo', 'bar'}, {0, 1})
x =
containers.Map handle
Package: containers
Properties:
Count: 2
KeyType: 'char'
ValueType: 'double'
Methods, Events, Superclasses