Import excel in simulink
1 回表示 (過去 30 日間)
古いコメントを表示
Hi guys.
I would like to ask how to import excel file into simulink block? i have try using matlab function block which is i write xlsread function. However, it shows error "the function xslread is not supported for standalone code generation".
0 件のコメント
回答 (1 件)
Tushar Sharma
2024 年 8 月 30 日
You may import data from Excel as signals in Simulink using the "From Spreadsheet" block - https://www.mathworks.com/help/simulink/slref/fromspreadsheet.html.
Alternatively you can also programmatically import data from excel file into MATLAB using "readtable" function - https://www.mathworks.com/help/matlab/import_export/read-spreadsheet-data-into-table.html.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Data Import from MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!