How to interface Matlab/Simulink <--->RS232<--->8051 Micrcontroller?

4 visualizaciones (últimos 30 días)
Luit Dutta
Luit Dutta el 10 de Nov. de 2014
Respondida: Samar el 18 de Feb. de 2025
How to interface Matlab/Simulink <--->RS232<--->8051 Micrcontroller?
Say for example by sending a bit signal from Matlab through RS232 to 8051, a LED should glow.
Is this possible?

Respuestas (1)

Samar
Samar el 18 de Feb. de 2025
As per my understanding, you are trying to setup a communication between MATLAB/Simulink and 8051 microcontroller via RS232 cable. An interface can be setup between MATLAB and 8051 microcontroller via the Instrument Control Toolbox. A serial object should be created which can read and write data serially.
Simulink does not support 8051 microcontroller hardware. But there is one work around for this which is explained in the link given below:

Categorías

Más información sobre Clocks and Timers en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by