import 4x1 vectors from Inport block

1 回表示 (過去 30 日間)
Owen
Owen 2014 年 6 月 19 日
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 件)

カテゴリ

Help Center および File ExchangeSources についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by