import 4x1 vectors from Inport block
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Sources in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!