Stream data into/out of MATLAB

Hi ,


I want to Stream data into/out of MATLAB

With your tools so I started with the following link:


I then performed the following steps:

I use windows.

And I installed the


Xilinx Vivado 2018.2



I installed Libiio Installers


Now I'm trying to figure out what I should have in SD CARD if at all?



I am using ZC706 + AD9361


Thanks for your help

Parents Reply Children
  • Hi Srikanth,

    i followed the instructions in the link, write the file to MY SD card.
    Additionally copied the image  to the base directory from the subdirectory

    And I managed to run the example at the following link:


    I am currently interested in an example of targeting from your site.
    What example can you recommend me to use if I use the VIVADO 2019.1 version and the ADI versions I mentioned above?
    And according to what documentation to focus on in order to get guidance ??

    please advise



  • 0
    •  Analog Employees 
    on Apr 5, 2021 9:59 PM in reply to ron1

    Please take a look at this targeting example. You can find Mathworks' targeting examples here - But, you would need to install Communications Toolbox Support Package for Xilinx Zynq-Based Radio -

    Currently, we support Vivado 2018.3. A future release will support 2019.1 

  • Hi

    1. So can I use MATLAB R2020a ,Xilinx Vivado 2018.2 ,AnalogDevicesTransceiverToolbox_v20.1.1.mltbx?

     2. I used this example


    And When I got to step :

    Step 5: Copy and paste the generated BOOT.BIN onto SD card

    Use the latest image from ADI. Replace the BOOT.BIN on SD card with the newly generated BOOT.BIN from HDL Workflow Advisor.


    I see in UART these messages so I can not connect using Cygwin to proceed.


    CPU: 1 PID: 1 Comm: init Not tainted 4.19.0-ga6ef26d #1104

    Hardware name: Xilinx Zynq Platform

    [<c010fa50>] (unwind_backtrace) from [<c010bd5c>] (show_stack+0x10/0x14)

    [<c010bd5c>] (show_stack) from [<c08f666c>] (dump_stack+0x8c/0xa0)

    [<c08f666c>] (dump_stack) from [<c011e33c>] (panic+0xf0/0x25c)

    [<c011e33c>] (panic) from [<c012148c>] (do_exit+0xa5c/0xa74)

    [<c012148c>] (do_exit) from [<c01221a0>] (do_group_exit+0x3c/0xbc)

    [<c01221a0>] (do_group_exit) from [<c012cbec>] (get_signal+0x144/0x5fc)

    [<c012cbec>] (get_signal) from [<c010b3bc>] (do_signal+0xcc/0x4e0)

    [<c010b3bc>] (do_signal) from [<c010b998>] (do_work_pending+0xb8/0xdc)

    [<c010b998>] (do_work_pending) from [<c010106c>] (slow_work_pending+0xc/0x20)

    Exception stack(0xef065fb0 to 0xef065ff8)

    5fa0:                                     00000000 00000000 00000000 00000000

    5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

    5fe0: 00000000 befe4f10 00000000 b6ef3a30 00000010 ffffffff

    CPU0: stopping

    CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.19.0-ga6ef26d #1104

    Hardware name: Xilinx Zynq Platform

    [<c010fa50>] (unwind_backtrace) from [<c010bd5c>] (show_stack+0x10/0x14)

    [<c010bd5c>] (show_stack) from [<c08f666c>] (dump_stack+0x8c/0xa0)

    [<c08f666c>] (dump_stack) from [<c010e034>] (ipi_cpu_stop+0x64/0x74)

    [<c010e034>] (ipi_cpu_stop) from [<c010e78c>] (handle_IPI+0x78/0x88)

    [<c010e78c>] (handle_IPI) from [<c0337814>] (gic_handle_irq+0x8c/0x90)

    [<c0337814>] (gic_handle_irq) from [<c0101a0c>] (__irq_svc+0x6c/0xa8)

    Exception stack(0xc1301ef0 to 0xc1301f38)

    1ee0:                                     00000000 00000001 2e589000 ef7d1740

    1f00: ffffe000 c1303c70 00000001 00000001 00000001 ef7d0a98 12142772 121016ab

    1f20: 0000000b c1301f40 c05c0460 c05c0464 00000113 ffffffff

    [<c0101a0c>] (__irq_svc) from [<c05c0464>] (cpuidle_enter_state+0x8c/0x300)

    [<c05c0464>] (cpuidle_enter_state) from [<c01465cc>] (do_idle+0x1ec/0x238)

    [<c01465cc>] (do_idle) from [<c01468e8>] (cpu_startup_entry+0x18/0x20)

    [<c01468e8>] (cpu_startup_entry) from [<c1200cd4>] (start_kernel+0x3e4/0x404)

    ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007


    Would appreciate help



  • 0
    •  Analog Employees 
    on Apr 6, 2021 11:07 PM in reply to ron1

    1. Yes. We recommend most people start with the Zynq SDR support package. Its required to be installed for the Transceiver Toolbox as well.

    2. This kinda looks like you have a corrupted kernel. If you switch back to the old BOOT.BIN does it boot correctly?


  • Hi Travis 

    thanks for the response 

    yes, it boot correctly