You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,11 +35,13 @@ The new file contains the following code patterns:
35
35
* a constructor stub
36
36
* space for specific methods
37
37
38
+
You need to edit the different files for updating user-specific information (author name, contact email, copyright notice...).
38
39
39
40
### Class pattern example
40
41
41
42
The following is the result of the creation of a new file called `SampleClass.m`, defining the class `SampleClass`, using the command `newClass('SampleClass')`:
42
43
44
+
```matlab
43
45
classdef SampleClass < handle
44
46
% One-line description here, please.
45
47
%
@@ -78,6 +80,7 @@ The following is the result of the creation of a new file called `SampleClass.m`
78
80
end % end methods
79
81
80
82
end % end classdef
83
+
```
81
84
82
85
83
86
## Creating new test
@@ -88,6 +91,7 @@ The newTest function can be used to create a new file containing a minimal imple
88
91
89
92
The following is the result of the command `newTest('foo')`:
90
93
94
+
```matlab
91
95
function tests = test_foo
92
96
% Test suite for the file foo.
93
97
%
@@ -112,4 +116,5 @@ The following is the result of the command `newTest('foo')`:
0 commit comments