How can I give each values of torque for value of RPM as an input?
1 view (last 30 days)
Show older comments
I want to provide two input values in script for my simulink model, one is of torque which has 10 values (in same increment) and one is of RPM which has 51 values (in same increment) for all 10 values of torque I want simulink model to take all 51 values of RPM i.e. total 10x51=510 values.
How can I do that? Also is it possible by a for loop?
0 Comments
Answers (1)
Sulaymon Eshkabilov
on 5 Nov 2021
Yes, indeed this can be done in Simulink and matlab. For Simulink modelling, you can employ the following block for input data:
[simin] from Workspace, [.mat] from File, [.xlsx] from Spreadsheet.
Also, yu may consider to use a look up table.
0 Comments
See Also
Categories
Find more on Simulink Functions 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!