Simulink Table-Type Data Import

1 次查看(过去 30 天)
Matin
Matin 2023-6-26
编辑: Matin 2023-6-27
Hello,
I have a dataset which is in table format. It is in my workspace, how can i import it to Simulink? I tried Constant and From Workspace blocks.
Also tried converting it to arrays and structs but there is also problem in importing these types.
Any help is very appericiated!
Best Regards

回答(1 个)

Nikhil
Nikhil 2023-6-27
Hey Matin,
I think From File block can read the data from MAT file into a Simulink Model.
Hope this works for you.
  3 个评论
Nikhil
Nikhil 2023-6-27
What type of data you want to import?
Matin
Matin 2023-6-27
编辑:Matin 2023-6-27
Table.
It is weird but i think simulink does not support Table data type. Am I right?
Here is the link:
and also when i write this command in command window:
showblockdatatypetable
Thanks

请先登录,再进行评论。

类别

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

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by