Excel to Matlab to Simulink
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Import from MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!