Tuesday, 27 November 2018

Arduino Tutorial #6: Introduction To Arduino Using Matlab Simulink

Arduino Tutorial #6: Introduction To Arduino Using Matlab Simulink


                  In this tutorial, I would like to introduce you to the Arduino using the Matlab Simulink. Previously we have seen how to program an Arduino using the IDE. The process is pretty much the same, but the methods are different. The first thing you need to to do is to install the Matlab. 






The installation process is straightforward. Once you have installed it, the next step is to open the Simulink. The Simulink comes together with the Matlab as a package. But before that, we must install the Simulink arduino package. This can be downloaded from the Add-Ons.








In the Add-Ons window, type Arduino and wait for the search to complete. Once it is done, go to the left panel and look for the "Using Simulink" and choose the Simulink Fundamentals. The window will refresh and next choose the first option. Once it is installed open the Simulink. 





Then click the choose the "Blank Model". And it will bring you to a new window. 





In this window choose the Library browser, which I have highlighted in below figure.




Once you click, a new window will pop up. 



 Next click "Simulink Support Package For Arduino Hardware".




Once you click this this, it will expand and dispalys another 4 more option.
Choose common and next choose the digital output.




Now we have the Arduino digital output block. Next, we need to provide a pulse to it. In order to do this, we can use one of the blocks under the Simulink option, which is the Sources. Click sources and choose Pulse Generator.




Once we have this, we need to measure the output from the pulse generator. To achieve this we can use the Sinks and choose Scope.




Once we have all of them in place, we can start to connect them.




The first step is to set up the pulse generator and measure its output with the scope. 





The set up of the pulse generator is as shown in the image above. Next is to connect to the scope and check the output.







From the video, it shows the waveform which is created through the pulse generator. Here is the snapshot of the image. In the snapshot, it can be seen that the pulse is being generated every one second.





Once this done, the next step is to connect the pulse generator to the Arduino. 




Once we connect the pulse generator to the Arduino, the Arduino pin need to be configured as well. We can use any pin which we desire but in this example, we choose Pin 13. The reason for Pin 13 is because it is connected to the internal LED. To achieve this we can simply double on the Arduino and change it.

Next step is to configure the hardware. 




 The Host Board Connection com port number depends on the individual PC. In my case, the com port number is 12. 

The final step is to click the Deploy To Hardware Button.





Once this button is clicked, it will compile and execute on the target board.

That's all for now, in our next tutorial we shall try to do some small projects using the Simulink.

49 comments:

  1. Excellent article for the people who need information about this course.
    Learn Data Science Online

    ReplyDelete
    Replies
    1. Electrosoft.Com: Arduino Tutorial 6: Introduction To Arduino Using Matlab Simulink >>>>> Download Now

      >>>>> Download Full

      Electrosoft.Com: Arduino Tutorial 6: Introduction To Arduino Using Matlab Simulink >>>>> Download LINK

      >>>>> Download Now

      Electrosoft.Com: Arduino Tutorial 6: Introduction To Arduino Using Matlab Simulink >>>>> Download Full

      >>>>> Download LINK E5

      Delete
  2. im very impressed with your post because this post is very beneficial for me and provide a new knowledge to me

    SolveigMM Video Splitter Crack

    ReplyDelete

  3. Pretty great post. I simply stumbled upon your blog and wanted to mention that I have really loved surfing around your blog posts. Great set of tips from the master himself. Excellent ideas. Thanks for Awesome tips Keep it
    matlab-crack
    drivertoolkit-crack
    iexplorer-crack
    fxsound-enhancer-premium-crack
    lastpass-password-manager-crack
    gravit-designer-crack


    ReplyDelete
  4. Your style is so unique compared to other people I have read stuff from. Many thanks forposting when you have the opportunity, Guess I will just bookmark this site NordVPN

    ReplyDelete

  5. I am impressed by the information that you have on this blog!
    "cyber security course in hyderabad

    ReplyDelete
  6. Pretty great post. I simply stumbled upon your blog and wanted to mention that I have really loved surfing around your blog posts. Great set of tips from the master himself. Excellent ideas. Thanks for Awesome tips Keep it
    matlab-crack
    wondershare-filmora-scrn-crack

    ReplyDelete


  7. So nice I am enjoying for that post as for u latest version of this Security tool Available
    matlab-crack

    ReplyDelete

  8. I thought this was a pretty interesting read when it comes to this topic. Thank you
    diskdigger-crack
    screenfloat-crack

    ReplyDelete

  9. Amazing blog! I really like the way you explained such information about this post with us. And blog is really helpful for us this website
    matlab-crack
    lastpass-password-manager-crack
    hma-pro-vpn-crack

    ReplyDelete

  10. Really Appreciable Article, Honestly Said The Thing Actually I liked The most is the step-by-step explanation of everything needed to be known for a blogger or webmaster to comment, I am going show this to my other blogger friends too.
    adobe-xd-crack-key-download
    adobe-media-encoder-download
    wifi-password-hacker-license-key
    cash-register-pro-crack-latest
    the-bat-professional-crack-key
    matlab-crack-full-license-key

    ReplyDelete
  11. So nice I am enjoying for that post as for u latest version of this Security tool Available
    cracksbin.com

    ReplyDelete
  12. I'm really impressed with your writing skills, as smart as the structure of your


    Latest Software Free Download



    weblog. Is this a paid topic



    Diskdigger crack



    do you change it yourself? However, stopping by with great quality writing, it's hard to see any good blog today.



    Program4pc audio converter-crack





    Diskdigger-crack





    Reimage pc reapir -crack




    Matalab pro crack

    ReplyDelete
  13. My response on my own website. Appreciation is a wonderful thing...thanks for sharing keep it up. FxSound Enhancer Premium Crack

    ReplyDelete
  14. Wow, amazing block structure! How long
    Have you written a blog before? Working on a blog seems easy.
    The overview of your website is pretty good, not to mention what it does.
    In the content!
    vstpatch.net
    DryLab System Crack
    TechnoCom Batch Crack
    FTI FormingSuite Crack
    Rollback Rx Pro Crack
    Zebra Designer Pro Crack
    X Plane 11 Payware Aircraft Crack

    ReplyDelete
  15. Great set of tips from the master himself. Excellent ideas. Thanks for Awesome tips Keep it up
    rawdigger-Free Download

    ReplyDelete


  16. So nice I am enjoying for that post as for u latest version of this Security tool Available
    ScreenHunter Pro Crack
    3DMark Crack
    TeraCopy Pro Crack
    PE-Design Crack

    ReplyDelete
  17. After looking through a few blog articles on your website,
    we sincerely appreciate the way you blogged.
    Good Working Thanks for sharing keep it up.
    CrackBins Full Version Softwares Free Download
    SolveigMM Video Splitter Crack

    ReplyDelete
  18. I like your all post. You have done really good work. Thank you for the information you provide, it helped me a lot. I hope to have many more entries or so from you.
    Very interesting blog.
    tomabo-mp4-downloader Crack
    pandora-radio Crack
    mobaxterm Crack

    ReplyDelete
  19. I thought this was a pretty interesting read when it comes to this topic. Thank you
    matlab-crack

    ReplyDelete
  20. I guess I am the only one who came here to share my very own experience. Guess what!? I am using my laptop for almost the past 2 years, but I had no idea of solving some basic issues. I do not know how to saqibtech.net But thankfully, saqibtech.net

    drylab system crack
    file manager local and cloud file explorer crack
    microsoft activation scripts with crack
    tuneskit drm m4v converter crack
    automatic call recorder pro crack

    ReplyDelete
  21. Pretty great post. I simply stumbled upon your blog and wanted to mention that I have really loved surfing around your blog posts. Great set of tips from the master himself. Excellent ideas. Thanks for Awesome tips Keep it
    rapid-seo-tool-crack
    total-network-inventory-crack
    screenfloat-crack
    solidworks-crack
    3delite-mp3-silence-cut-crack
    aomei-backupper-pro-crack
    topaz-studio-crack

    ReplyDelete
  22. This site have particular software articles which emits an impression of being a significant and significant for you individual, able software installation.This is the spot you can get helps for any software installation, usage and cracked.
    matlab-crack

    ReplyDelete
  23. This is a fantastic post. Thank you for your valuable advice and hard effort. Keep going.
    Gravit Designer 3.5.73 Crack

    ReplyDelete
  24. I like your all post. You have done really good work. Thank you for the information you provide, it helped me a lot. vstpirate.net I hope to have many more entries or so from you.
    Very interesting blog.
    ScreenFloat Crack

    ReplyDelete
  25. I realy impressed with your work and getting information from it. thanks. keep it up
    Hard Disk Sentinel crack

    ReplyDelete
  26. Thanks for sharing your knowledge to install & crack the Time Tables, but you need to update
    it now. because there is a 2022 version available now:
    portablecrack.co
    decipher-backup-browser-crack
    plum-amazing-iwatermark-pro-crack
    borderlands-crack

    ReplyDelete
  27. So nice I am enjoying for that post as for u latest version of this Security tool. You can visit this website Click here..

    plum-amazing-iwatermark-pro-crack

    ReplyDelete
  28. I guess I am the only one who came here to share my very own experience. Guess what!? I am using my laptop for almost the past 2 years, but I had no idea of solving some basic issues. I do not know how to Easy to Direct Download All Software With Full Activation Key But thankfully, I recently visited a website named vstpirate
    FxSound Enhancer Premium Crack

    ReplyDelete
  29. Electrosoft.Com: Arduino Tutorial 6: Introduction To Arduino Using Matlab Simulink >>>>> Download Now

    >>>>> Download Full

    Electrosoft.Com: Arduino Tutorial 6: Introduction To Arduino Using Matlab Simulink >>>>> Download LINK

    >>>>> Download Now

    Electrosoft.Com: Arduino Tutorial 6: Introduction To Arduino Using Matlab Simulink >>>>> Download Full

    >>>>> Download LINK qY

    ReplyDelete
  30. With your dedication and hard effort, you accomplished an outstanding job. Thank you for taking the time to share it with me. I really appreciate it.
    clean-my-pc

    ReplyDelete
  31. I guess I am the only one who came here to share my very own experience. Guess what!? I am using my laptop for almost the past 2 years, but I had no idea of solving some basic issues. I do not know how to Crack Softwares Free Download But thankfully, I recently visited a website named ProCrackHere
    Microsoft Activation Scripts Crack
    Free Netflix Downloader Crack

    ReplyDelete
  32. Pretty great post. I simply stumbled upon your blog and wanted to mention that I have really loved surfing around your blog posts. Great set of tips from the master himself. Excellent ideas. Thanks for Awesome tips Keep it
    matlab-crack

    ReplyDelete