import 4x1 vectors from Inport block
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Sources finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!