How can I give each values of torque for value of RPM as an input?

1 view (last 30 days)
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?

Answers (1)

Sulaymon Eshkabilov
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.

Categories

Find more on Simulink Functions in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!