Main Content

release

Release the hardware resources associated with the fpga object

Description

example

release(hFPGA) releases the hardware resources associated with the fpga object, represented by hFPGA.

Examples

collapse all

Create an hFPGA object for a Xilinx® target and then release the hardware resource.

Create an hFPGA object for a Xilinx target and connect to the Xilinx device. To release the hardware resource, use the release function.

hFPGA = fpga("Xilinx")
release(hFPGA)
hFPGA = 

  fpga with properties:

       Vendor: "Xilinx"
   Interfaces: [0x0 fpgaio.interface.InterfaceBase]

    

Create an hFPGA object for an Intel® target and then release the connection you have set up.

Create an hFPGA for an Intel target and connect to the Intel device. To release the connection, use the release function.

hFPGA = fpga("Intel")
release(hFPGA)
hFPGA = 

  fpga with properties:

       Vendor: "Intel"
   Interfaces: [0x0 fpgaio.interface.InterfaceBase]

    

Input Arguments

collapse all

fpga object for the target vendor, specified as an fpga object.

Introduced in R2020b