How can I simulate at the same time?

I have a code that read the data from serial port and it i simulating. ı simulates with using sim function after I take two kind of data. But I am taking lot of data 2 by 2 from serial port. I am simulating with using these datas. But for all 2 data simulink is starting from beginnig. I want to one simulation for all reading data from serial port.

Answers (1)

Ameer Hamza
Ameer Hamza on 4 May 2018
Read data directly in Simulink with Serial Receive block.

2 Comments

Yes I tried that but ıt gives only one data and it gave wrong data. I did not understand. Can I figure out with code?
I don't have much experience programmatically controlling Simulink, so can't give any further information in that respect.

Sign in to comment.

Categories

Find more on Simulink in Help Center and File Exchange

Tags

Asked:

on 4 May 2018

Commented:

on 4 May 2018

Community Treasure Hunt

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

Start Hunting!