Skip to content

Commit f61987e

Browse files
v0.3.4
1 parent 3c76c00 commit f61987e

17 files changed

Lines changed: 288 additions & 16 deletions

File tree

en/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![banner](banner_homepage.png)
22

3-
### Nelson 0.3.3.0
3+
### Nelson 0.3.4.0
44

55
This is an pre-release of Nelson.
66

en/SUMMARY.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@
7272
* [dbstack](./debugger/dbstack.md)
7373

7474

75+
* [profiler](./profiler/README.md)
76+
* [profile](./profiler/profile.md)
77+
* [profsave](./profiler/profsave.md)
78+
79+
7580
* [error_manager](./error_manager/README.md)
7681
* [error](./error_manager/error.md)
7782
* [lasterror](./error_manager/lasterror.md)
@@ -216,6 +221,7 @@
216221

217222

218223
* [string](./string/README.md)
224+
* [blanks](./string/blanks.md)
219225
* [char](./string/char.md)
220226
* [contains](./string/contains.md)
221227
* [convertCharsToStrings](./string/convertCharsToStrings.md)
@@ -298,7 +304,7 @@
298304
* [function_handle](./function_handle/README.md)
299305
* [func2str](./function_handle/func2str.md)
300306
* [isfunction_handle](./function_handle/isfunction_handle.md)
301-
* [func2str](./function_handle/str2func.md)
307+
* [str2func](./function_handle/str2func.md)
302308

303309

304310
* [handle](./handle/README.md)

en/changelogs/CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
# 0.3.4 (2019-04-27)
2+
3+
Features:
4+
---------
5+
6+
* Coverage and Profiling Tools for Nelson's language:
7+
8+
- profile function: Profile execution time for functions
9+
- profsave function: Save profile report in HTML format
10+
11+
* blanks builtin: creates an string of blank characters.
12+
13+
* .nh5 files have an header to identify it easily.
14+
15+
* isnh5file, ismatfile extended to return header string.
16+
17+
Bug Fixes:
18+
---------
19+
20+
* [#193](http://github.com/Nelson-numerical-software/nelson/issues/193): func2str help was wrong.
21+
22+
23+
Compilation:
24+
------------
25+
26+
* MATIO 1.5.15
27+
28+
Thanks to MAT file I/O library (MATIO) to provide an easy support for MAT-file.
29+
30+
* more 100 warnings fixed (Thanks to PVS-Studio analyzer and also Cppcheck).
31+
32+
* .editorconfig file added.
33+
34+
* Visual studio 15.9.11
35+
36+
* Qt 5.12.2 on Windows
37+
38+
39+
140
# 0.3.3 (2019-03-21)
241

342
Features:

en/function_handle/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function_handle functions
1010

1111
* [func2str](func2str.md) - Return a function handle constructed from a string.
1212
* [isfunction_handle](isfunction_handle.md) - Checks if value is a function handle.
13-
* [func2str](str2func.md) - Returns a string from function handle.
13+
* [str2func](str2func.md) - Returns a function handle from a string.
1414

1515

1616

en/function_handle/SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
* [function_handle](README.md)
22
* [func2str](func2str.md)
33
* [isfunction_handle](isfunction_handle.md)
4-
* [func2str](str2func.md)
4+
* [str2func](str2func.md)
55

en/function_handle/str2func.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11

22

3-
# func2str
3+
# str2func
44

5-
Returns a string from function handle.
5+
Returns a function handle from a string.
66

77
## Syntax
88

9-
- str = func2str(func_handle)
9+
- func_handle = str2func(str)
1010

1111
## Input argument
1212

13-
- func_handle - a function handle.
13+
- str - a string
1414

1515
## Output argument
1616

17-
- str - a string
17+
- func_handle - a function handle.
1818

1919
## Description
2020

2121

22-
<p><b>str = func2str(function_handle)</b> returns a string <b>str</b> that holds the name of the function to which the function handle is associated.</p>
22+
<p><b>function_handle = str2func(str)</b> returns a function handle <b>function_handle</b> for the function named in the string <b>str</b></p>
2323

2424

2525
## Example
@@ -31,7 +31,7 @@ str = func2str(fh)
3131

3232
## See also
3333

34-
[str2func](str2func.md), [isfunction_handle](isfunction_handle.md).
34+
[func2str](func2str.md), [isfunction_handle](isfunction_handle.md).
3535
## History
3636

3737
|Version|Description|

en/hdf5/isnh5file.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Checks if filename a valid .nh5 file
77
## Syntax
88

99
- tf = isnh5file(filename)
10+
- [tf, version, header] = isnh5file(filename)
1011

1112
## Input argument
1213

@@ -15,6 +16,8 @@ Checks if filename a valid .nh5 file
1516
## Output argument
1617

1718
- tf - a logical: true if it is a valid .nh5 file.
19+
- version - a string array: "-v1" or "" if it is undefined.
20+
- header - a string array: header of nh5 file (date created).
1821

1922
## Description
2023

@@ -29,7 +32,7 @@ A = ones(3, 4);
2932
savemat([tempdir(), '/example_isnh5.mat'], 'A')
3033
R = isnh5file([tempdir(), '/example_isnh5.mat'])
3134
h5save([tempdir(), '/example_isnh5.nh5'], 'A')
32-
R = isnh5file([tempdir(), '/example_isnh5.nh5'])
35+
[R, VER, HE] = isnh5file([tempdir(), '/example_isnh5.nh5'])
3336
```
3437

3538
## See also

en/matio/ismatfile.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Checks if filename a valid .mat file
66

77
## Syntax
88

9-
- [tf, ver] = ismatfile(filename)
9+
- [tf, ver, header] = ismatfile(filename)
1010

1111
## Input argument
1212

@@ -15,7 +15,8 @@ Checks if filename a valid .mat file
1515
## Output argument
1616

1717
- tf - a logical: true if it is a valid .mat file.
18-
- ver - a string: version of .mat file ("-v7.3", "-v7" or "-v6").
18+
- ver - a string array: version of .mat file ("-v7.3", "-v7" or "-v6").
19+
- header - a string array: header of .mat file (date).
1920

2021
## Description
2122

@@ -37,7 +38,7 @@ savemat([tempdir(), '/example_loadmat-v6.mat'], 'A', '-v6')
3738
[tf, ver] = ismatfile([tempdir(), '/example_loadmat-v7.3.mat'])
3839
[tf, ver] = ismatfile([tempdir(), '/example_loadmat-v7.mat'])
3940
[tf, ver] = ismatfile([tempdir(), '/example_loadmat-v6.mat'])
40-
[tf, ver] = ismatfile([tempdir(), '/example_not_existing.mat'])
41+
[tf, ver, header] = ismatfile([tempdir(), '/example_not_existing.mat'])
4142
```
4243

4344
## See also

en/profiler/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
3+
# Profiling tools
4+
5+
Profiling tools
6+
7+
## Description
8+
Profile to Improve Performance
9+
10+
11+
* [profile](profile.md) - Profile execution time for Macro functions.
12+
* [profsave](profsave.md) - Save profile result to HTML format.
13+
14+
15+

en/profiler/SUMMARY.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
* [profiler](README.md)
2+
* [profile](profile.md)
3+
* [profsave](profsave.md)
4+

0 commit comments

Comments
 (0)