Welcome to MATLAB Sphinx Documentation Test’s documentation!¶
Contents:¶
Tests:¶
Test Data¶
This is the test data module
test_data
is a really cool module
My Handle Class¶
Does this work?
-
class
test_data.
MyHandleClass
(x)¶ Bases:
my.super.Class
,handle
a handle class
Parameters: x – a variable -
get_x
()¶ how is this displayed?
-
static
my_static_function
(z)¶ A static function in
MyHandleClass
.Parameters: z – input z Returns: w
-
x
= None¶ a property
-
My Abstract Class¶
Does this work?
-
class
test_data.
MyAbstractClass
(y)¶ Bases:
test_data.MyHandleClass
,test_data.MyClass
an abstract class
Parameters: y (double) – a variable -
version
= u"'0.1.1-beta'"¶ version
-
y
= None¶ y variable
-
my function¶
Do these work?
-
test_data.
myfun
(a1, a2)¶ a fun function
Parameters: - a1 – the first input
- a2 – another input
Returns: [o1, o2, o3]
some outputs
My Class¶
How about this?
-
class
test_data.
MyClass
(a)¶ Bases:
handle
test class methods
Parameters: a – the input to MyClass
-
a
= None¶ a property
-
mymethod
(b)¶ a method in
MyClass
Parameters: b – an input to mymethod()
-
my method¶
How about this too?
-
MyClass.
mymethod
(b) a method in
MyClass
Parameters: b – an input to mymethod()
Ellipsis Properties¶
Some edge cases that have ellipsis inside arrays.
+myPackage¶
This is the test package
@myClassFolder¶
This is the test class folder
classMethod¶
-
test_data.@myClassFolder.
classMethod
(self, varargin)¶ CLASSMETHOD A function within a package
Parameters: - self – An instance of this class.
- varargin – Variable input arguments.
Returns: varargout
My Static Function¶
-
test_data.@myClassFolder.
my_static_func
(args)¶ method in
@myClassFolder
Submodule¶
This is the test data module
Ellipsis after equals¶
-
test_data.test_submodule.
f_ellipsis_after_equals
(arg)¶ Tests a function with ellipsis in the output
No Outputs¶
-
test_data.test_submodule.
f_no_outputs
(arg)¶ Tests a function with ellipsis in the output
Output with Ellipsis¶
-
test_data.test_submodule.
f_output_with_ellipsis
(arg)¶ Tests a function with ellipsis in the output
Output with no commas¶
-
test_data.test_submodule.
f_output_without_commas
(arg)¶ Tests a function with ellipsis in the output
Super from different module¶
-
class
test_data.test_submodule.
super_from_diff_mod
¶ Bases:
test_data.MyHandleClass
,test_data.MyAbstractClass
class which inherits bases from a different module