开源软件名称(OpenSource Name):kyamagu/matlab-json开源软件地址(OpenSource Url):https://github.com/kyamagu/matlab-json开源编程语言(OpenSource Language):Java 93.5%开源软件介绍(OpenSource Introduction):Matlab JSONThis package contains Matlab class to serialize/decode matlab object in
json format. The software uses customized APIAll functions are scoped under
UsageAdd path to the directory containing
To serialize a matlab object:
To decode a json string:
To read from or write to a json file.
NoteDue to the multiple ways to represent an array in Matlab (i.e., numeric
array, cell array, or struct array), it is impossible to represent
everything in a compatible format. For example, a json string "[[1,2],[3,4]]"
can be interpreted in different ways in Matlab, such as [1,2;3,4], {1,2;3,4},
{[1,2],[3,4]}, etc. Because of this, This implementation is designed to maximize the ease of data exchange. For that purpose, by default, json parser assumes the following.
For example, a nested array with the same sized elements is treated as an N-D array.
The In addition to the standard JSON specification, the included
JSON parser accepts non-finite double values ( The package is designed to make conversion as easy as possible. However, due to Java usage inside Matlab, the package is not optimized for performance. Be cautious when converting a huge variable. TestTo run a test, invoke
LicenseYou may redistribute this software under BSD license. Links |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论