To import testvector from excelsheet to simulink model which blocks and methods are used except signal builder?
Mostra commenti meno recenti
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
Risposte (1)
Ramtej
il 4 Set 2023
0 voti
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:
From Workspace block: https://in.mathworks.com/help/simulink/slref/fromworkspace.html?searchHighlight=from%20workspace&s_tid=srchtitle_support_results_1_from%20workspace
Load data using the "From Workspace" block: https://in.mathworks.com/help/simulink/ug/load-data-using-the-from-workspace-block.html
Hope this helps!
Categorie
Scopri di più su Test Model Components in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!