how to read a .Hjson file in Matlab
1 view (last 30 days)
Show older comments
I would like to know how to read a.Hjson file and to make a matrix only with x and y values.
{'{' } {' Project:{ centerX:-0.06593407, centerY:0.01048951, scaleX:0.3266733, scaleY:0.2367632, angle:0.004385608 }'}
{' Tiles:[' }
{' { x:-0.9511973, y:-0.2175504, width:0.2, height:0.2}' }
{' { x:-0.8096355, y:-0.9405342, width:0.2, height:0.2}' }
{' { x:-0.004733443, y:-0.9002141, width:0.2, height:0.2}' }
{' { x:0.7851422, y:-0.7620989, width:0.2, height:0.2}' }
{' { x:1.022592, y:-0.1442593, width:0.2, height:0.2}' }
{' { x:0.8753409, y:0.6560148, width:0.2, height:0.2}' }
{' { x:-0.6622026, y:0.7188803, width:0.2, height:0.2}' }
{' { x:-1.301597, y:0.7597913, width:0.2, height:0.2}' }
{' { x:0.04446816, y:-0.07510459, width:0.2, height:0.2}' }
{' ]' }
{'}' }
0 Comments
Answers (0)
See Also
Categories
Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!