Info
この質問は閉じられています。 編集または回答するには再度開いてください。
How can I divide the following RAW data 'ans' seperately with new name and how can Divide each set because it is mixture of Ascii and HEX. Could you please help me regarding this. The answer is appriciable.
3 ビュー (過去 30 日間)
古いコメントを表示
ans =
'!U5æ01131B8B04CB18CE1DB0
'
ans =
'!E0000
'
ans =
'!R010000000000cskYB<YFSFMB>>685,0*,)'*,,(+*)(()))(*((()**())**(()((()'((*((-..**,,?MKct?}rqGTL<kz???otj?ly{ql^UZBPRCBKI@9-5<9,96)//+-0+(0/*)()*/*+*),,,4--SXI]R53<8B?:,6BPSN,79?-ODNIAIOM\S_K.MOKK5DDBNUIF.667A:.<469/502*44/*1.//E?4/2+*((,25:C>)*.**.(**(-3.+-/-,)*)+,
'
ans =
'!C010000000000g`gprpnid_]ZXWURMKIGFFDCA?><;::999888888888888888888888999:;=@CFJNQUVWWWWYZ\_cgmrtz{}}|{{zyyyxxvrsqpolihfcbb_\XTRPMKIGFECBB@?>===<<<<<=?@BDEEFEFGFEDCEHKLNNNNPRSRONNORTVUTTTVVVUSRSTWXYWVVVVUSQONMMNNKJIIHGFECCCDDCCBAAA@???@@AAAAAA@?=====>>>>>>>>=<;:::::;;;;;
'
ans =
'!T5æ00052s0B2D000010849FFC2000020978?0B8A000030A5400F8000041008]FB0B00005116ES09DA000061342_049A00007148DU0463000081774EFB280000918DBC06270000A0000"00000000B0000"00000000C0000"00000000D0000"00000000E0000"00000000F0000"00000000
'
11 件のコメント
Stephen23
2019 年 1 月 16 日
"I mean if the output starts with !R it should automatically say it belongs to range frame. "
Read the data into a temporary variable. Parse the data, detect whatever you want. Use a switch operator to assign the variable to the variables StatusInfo, RangeInfo, etc., or use a structure and define the fieldnames.
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!