Interfacing of Proteus and MATLAB/SIMULINK for simulation of Arduino

27 views (last 30 days)
Can you please help me in interfacing Proteus with MATLAB/SIMULINK to run Arduino based simulations
using Simulink external mode. See: https://www.youtube.com/watch?v=yTc9xq_jmAE&t=301s (This video runs simulation on actual Hardware and not the Proteus based Arduino Library.)
Background Info:
• Arduino Library is used in proteus for simulating Arduino, also Arduino Library for MATLAB/SIMULINK is also installed.
• In Proteus, there's somrthing called "COMPIM" which can be used a a COM PORT for Arduino in proteus.
Also, there's something called "Virtual Terminal" in proteus to Tranmit/Receive serial Data and veiw it.
To summarize, I want to generate a square pulse in Arduino-Proteus (Virtual Arduino), using SIMULINK Model Shown above.
I know MATLAB reads virtual serial data through "serial()" function, in script file, so there must be a way for simulink to communicate with proteus to run the simulink model on virtual arduino.
  4 Comments

Sign in to comment.

Answers (0)

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!