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

2 visualizaciones (últimos 30 días)
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

Respuestas (1)

Ramtej
Ramtej el 4 de Sept. de 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!

Etiquetas

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by