Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Interfacing Matlab with microcontroller

Status
Not open for further replies.

zedora786

Newbie level 6
Newbie level 6
Joined
Jan 9, 2011
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,370
i need help in my project.
in my project i will use microcontroller, matlab and electronics lock.
i want to connect a microcontroller with my Laptop, so that when a command goes from MATLAB to the microcontroleer, it should open the electronic lock. how will i do this. e.g when my required result comes from the matlab then it should send a signal to the microcontroller to open the electronic lock.
i want to know that whether it is possible? and if yes then which microcontroller will be used, which command will be used in the matlab to interface the matlab with the microcontroller and then to the electronic lock.
 

you can connect the microcomputer to your laptop using serial communications, USB, WiFi, etc

Matlab then offers you various tools to interface to the device, e.g.
https://www.mathworks.co.uk/products/instrument/supported/usb.html
https://www.mathworks.co.uk/help/matlab/serial-port-devices.html
https://www.mathworks.co.uk/products/instrument/supported/tcp-ip.html

alternativly if the device already has C++ code to interface to it Matlab can interface to the C++ code and hence to the device
https://www.mathworks.co.uk/support/compilers/interface.html

I have used the later technique to interface to a DSP board with a Texas C6000 processor
https://www.ti.com/product/tms320c6..._clickid=7db00989-853a-4ac9-a22c-000006a302b0
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top