need clarification in import the live data.

3 views (last 30 days)
Is it possible to load the live input datas in simulink model ?? Now i worked only in some set of excel data as input to the spread sheet block and its connected to matlab function block and its again connected to scope for view the outputs.
for eg: Like 10000 datas for 10 secs as input.

Accepted Answer

arushi
arushi on 29 Jul 2024
Hi Saranya,
Yes, it is possible to load live input data into a Simulink model. There are several ways to achieve this depending on the source of your live data. You can update a variable in the MATLAB workspace with live data and then use the "From Workspace" block in Simulink to read this data.Please refer to the MathWorks documentation for more details -
For more methods, you may refer to the following documentation -
Hope this helps.

More Answers (0)

Categories

Find more on Programmatic Model Editing 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!