Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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.

1 visualización (últimos 30 días)
ans =
'!U5æ01131B8B04CB18CE1DB0
'
ans =
'!E0000
'
ans =
'!R010000000000cskYB<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æ00052s0B2D000010849FFC2000020978?0B8A000030A5400F8000041008]FB0B00005116ES09DA000061342_049A00007148DU0463000081774EFB280000918DBC06270000A0000"00000000B0000"00000000C0000"00000000D0000"00000000E0000"00000000F0000"00000000
'
  11 comentarios
Stephen23
Stephen23 el 16 de En. de 2019
"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.

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by