Ask Your Question
3

When implementing a parallel structure, why does MATLAB serial read produce an error?

asked 2023-07-15 03:23:13 +0000

huitzilopochtli gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-07-15 03:29:01 +0000

devzero gravatar image

MATLAB serial read operates in a serial manner, meaning it reads data from the serial port one byte at a time. When implementing a parallel structure, multiple processes are running in parallel and attempting to access the serial port simultaneously, which can cause conflicts and errors. Additionally, parallel processing may cause issues with data timing and synchronization. Therefore, using MATLAB serial read in a parallel structure is not recommended and can lead to errors. Instead, other communication methods such as TCP/IP or messaging systems should be used to facilitate communication between the parallel processes.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-07-15 03:23:13 +0000

Seen: 11 times

Last updated: Jul 15 '23