Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix writing of Unicode encoded character array to v7 MAT file
As reported by #79
- Loading branch information
Showing
6 changed files
with
97 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Name: a | ||
Rank: 2 | ||
Dimensions: 4 x 26 | ||
Class Type: Character Array | ||
Data Type: Unicode UTF-8 Encoded Character Data | ||
{ | ||
abcdefghijklmnopqrstuvwxyz | ||
ABCDEFGHIJKLMNOPQRSTUVWXYZ | ||
1234567890!@#$%^&*()-_=+`~ | ||
[{]}\|;:'",<.>/? | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
Name: var4 | ||
Rank: 2 | ||
Dimensions: 2 x 1 | ||
Class Type: Structure | ||
Data Type: Structure | ||
Fields[4] { | ||
Name: field1 | ||
Rank: 2 | ||
Dimensions: 0 x 1 | ||
Class Type: Double Precision Array | ||
Data Type: IEEE 754 double-precision | ||
{ | ||
} | ||
Name: field2 | ||
Rank: 2 | ||
Dimensions: 0 x 1 | ||
Class Type: Character Array | ||
Data Type: Unicode UTF-8 Encoded Character Data | ||
{ | ||
} | ||
Name: field1 | ||
Rank: 2 | ||
Dimensions: 0 x 1 | ||
Class Type: Structure | ||
Data Type: Structure | ||
Fields[0] { | ||
} | ||
Name: field2 | ||
Rank: 2 | ||
Dimensions: 0 x 1 | ||
Class Type: Cell Array | ||
Data Type: Cell Array | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
Name: a | ||
Rank: 2 | ||
Dimensions: 2 x 1 | ||
Class Type: Structure | ||
Data Type: Structure | ||
Fields[4] { | ||
Name: field1 | ||
Rank: 2 | ||
Dimensions: 0 x 0 | ||
Class Type: Double Precision Array | ||
Data Type: IEEE 754 double-precision | ||
{ | ||
} | ||
Name: field2 | ||
Rank: 2 | ||
Dimensions: 0 x 0 | ||
Class Type: Double Precision Array | ||
Data Type: IEEE 754 double-precision | ||
{ | ||
} | ||
Name: field1 | ||
Rank: 2 | ||
Dimensions: 0 x 0 | ||
Class Type: Double Precision Array | ||
Data Type: IEEE 754 double-precision | ||
{ | ||
} | ||
Name: field2 | ||
Rank: 2 | ||
Dimensions: 4 x 26 | ||
Class Type: Character Array | ||
Data Type: Unicode UTF-8 Encoded Character Data | ||
{ | ||
abcdefghijklmnopqrstuvwxyz | ||
ABCDEFGHIJKLMNOPQRSTUVWXYZ | ||
1234567890!@#$%^&*()-_=+`~ | ||
[{]}\|;:'",<.>/? | ||
} | ||
} |