{"id":25507,"date":"2018-09-21T10:45:23","date_gmt":"2018-09-21T17:45:23","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=25507"},"modified":"2023-02-07T18:54:45","modified_gmt":"2023-02-08T02:54:45","slug":"the-analog-discovery-2-is-now-supported-in-the-matlab-data-acquisition-toolbox","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/the-analog-discovery-2-is-now-supported-in-the-matlab-data-acquisition-toolbox\/","title":{"rendered":"The Analog Discovery 2 Is Now Supported In The MATLAB Data Acquisition Toolbox"},"content":{"rendered":"<p>A while back, we <a href=\"https:\/\/digilent.com\/blog\/goodbye-original-analog-discovery\/\">announced that we were in short supply of the Original Analog Discovery<\/a>\u00a0and that once we were out, the Analog Discovery Original would be retired. It is now time to retire the <a href=\"https:\/\/digilent.com\/shop\/analog-discovery-100msps-usb-oscilloscope-logic-analyzer-limited-time\/\">Original Analog Discovery<\/a>, and introduce exciting new support for the <a href=\"https:\/\/digilent.com\/shop\/analog-discovery-2-100msps-usb-oscilloscope-logic-analyzer-and-variable-power-supply\/\">Analog Discovery 2<\/a>.<\/p>\n<p>I&#8217;m excited to announce that due to the continuing feedback from our community, the Analog Discovery 2 now has MATLAB support. MATLAB provides libraries for data acquisition\u00a0hardware in their\u00a0Data Acquisition Toolbox in order to do data capture, plotting and data analysis with MATLAB.<\/p>\n<p><a href=\"https:\/\/www.mathworks.com\/products\/daq.html\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-25512 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/09\/data-acquisition-toolbox-MatLab-600x392.png\" alt=\"\" width=\"600\" height=\"392\" data-wp-pid=\"25512\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/09\/data-acquisition-toolbox-MatLab-600x392.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/09\/data-acquisition-toolbox-MatLab-768x502.png 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/09\/data-acquisition-toolbox-MatLab-214x140.png 214w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/09\/data-acquisition-toolbox-MatLab-800x523.png 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/09\/data-acquisition-toolbox-MatLab.png 918w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>With the release of MATLAB 2018b, the<a href=\"https:\/\/digilent.com\/shop\/analog-discovery-2-100msps-usb-oscilloscope-logic-analyzer-and-variable-power-supply\/\"> Analog Discovery 2<\/a> is now included as one of the many hardware devices supported by MATLAB, and also includes the Original Analog Discovery. Information about the support and examples using the libraries can be found on the <a href=\"https:\/\/www.mathworks.com\/hardware-support\/digilent-analog-discovery.html\">MATLAB support page.<\/a><\/p>\n<p><a href=\"https:\/\/www.mathworks.com\/products\/data-acquisition.html\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-25609 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/09\/MATLAB-Data-Acquisition-Toolbox-R2018b-600x242.png\" alt=\"\" width=\"600\" height=\"242\" data-wp-pid=\"25609\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/09\/MATLAB-Data-Acquisition-Toolbox-R2018b-600x242.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/09\/MATLAB-Data-Acquisition-Toolbox-R2018b-768x310.png 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/09\/MATLAB-Data-Acquisition-Toolbox-R2018b-1024x414.png 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/09\/MATLAB-Data-Acquisition-Toolbox-R2018b-800x323.png 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/09\/MATLAB-Data-Acquisition-Toolbox-R2018b.png 1097w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>The Data Acquisition Toolbox Support Package for the Analog Discovery 2 includes\u00a0libraries for:<\/p>\n<ul>\n<li>Read data from the two oscilloscope channels (analog input)<\/li>\n<li>Control and generate data from the two waveform generators (analog output)<\/li>\n<li>Characterize ICs and measure behavior of the circuit and IC components<\/li>\n<li>Configure the sampling rate of the Analog Discovery device<\/li>\n<li>Trigger the start of your data acquisition<\/li>\n<li>Find and display Digilent Analog Discovery device settings<\/li>\n<\/ul>\n<p>For those with existing Original Analog Discovery material or projects, the function calls and libraries remain unchanged in order to create a smooth transition process. To check out the support visit the <a href=\"https:\/\/www.mathworks.com\/hardware-support\/digilent-analog-discovery.html\">Analog Discovery Hardware Support Page<\/a>.<\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-25507 jlk' data-task='like' data-post_id='25507' data-nonce='8896bc70a6' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-25507 lc'>+3<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-25507 jlk' data-task='unlike' data-post_id='25507' data-nonce='8896bc70a6' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-25507 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-25507 status align-left'><\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>We are excited to announce that the Analog Discovery 2 is now supported  in MATLAB!<\/p>\n","protected":false},"author":18,"featured_media":25648,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4323,4312],"tags":[1736],"ppma_author":[4466],"class_list":["post-25507","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","category-usb-scopes-analyzers-generators","tag-analog-discovery-2"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/09\/mat.jpg","jetpack_sharing_enabled":true,"authors":[{"term_id":4466,"user_id":18,"is_guest":0,"slug":"kaitlyn","display_name":"Kaitlyn Franz","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/9276021eaa44781ce19f364cfca46ada25e1500769cf4803a095a5bae83c912a?s=96&d=mm&r=g","1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":"","9":"","10":""}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/25507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=25507"}],"version-history":[{"count":1,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/25507\/revisions"}],"predecessor-version":[{"id":29640,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/25507\/revisions\/29640"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/25648"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=25507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=25507"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=25507"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=25507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}