import 4x1 vectors from Inport block
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I want to import some data (100 numbers) from Workspace into a Simulink model with an Inport Block.
The data is generated as following:
test_data = [1:100]';
test_data_ts = timeseries(test_data);
test_data_ts is put into Configuration Parameters -> Input.
Another block is connected with the Inport block. This block requires 4x1 vectors at the input, so I put a Signal Specification Block between these blocks, with this configuration: Dimensions = [4 1].
Unfortunatly I get an error:
The external inputs specified for the block diagram indicate that the port dimensions should be [1]. Instead, the port dimensions are being set to [4x1].
Any ideas?
Senmeis
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!