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

2 views (last 30 days)
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

Answers (1)

Ramtej
Ramtej on 4 Sep 2023
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!

Tags

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!