To import testvector from excelsheet to simulink model which blocks and methods are used except signal builder?

2 次查看(过去 30 天)
For MIL testing of model , how to import testvectors from excelsheet to simulink model except signal builder , Suggest different MIL testing methods to import testvector from excelsheet

回答(1 个)

Ramtej
Ramtej 2023-9-4
Hi Shubham,
I understand that you are trying to import test vectors from an Excel sheet to a Simulink model without using signal generator block.
Here are the alternative methods you can try:
Using "From Spreadsheet" block:
  • Before importing, make sure the test data in the Excel sheet is in the correct format supported by "From Spreadsheet" block (refer to documentation)
  • Import test vectors from Excel to "From Spreadsheet" variable and run your desired test by using this block as signal generator.
Using "From Workspace" block:
  • Import the test vectors from Excel to a MATLAB workspace variable and convert the test data into the supported data type for loading ( refer to documentation below )
  • Use the "From Workspace" block to read this test data variable into the Simulink model and run your desired test
Links to relevant documentation and examples:
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

标签

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by