Excel to Matlab to Simulink

1 次查看(过去 30 天)
data = xlsread('Mappe1'); breakpoints1 = data(1:end,1)'; breakpoints2 = data(1:end,2)'; Mappe1 is an excel file with 2 columns have integer values. 1st column with values 1,3,5,8 and 2nd column with values 2,2,5,7. I created 2 separate variables from this excel file. breakpoints1 = 1,3,5,8 and breakpoints2 = 2,2,5,7. Now I want to import these values from the workspace into simulink and add them and get result back in matlab workspace. That is 1 + 2, 3 +2, 5 + 5 and 8 + 7. How can I do this. Thanking You in advance.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import from MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by