how to read a .Hjson file in Matlab
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!