How can I give each values of torque for value of RPM as an input?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Sulaymon Eshkabilov
2021-11-5
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!