USRP Transmitter simulink input dimension error

When use a "From Workspace" block to send my data to the SDRuTransmitter, Simulink keep telling my my input data dimension is not correct.
Does anybody successfully use SDRutransmitter to send user-defined data? I think it is probably a bug?!
clear;
data.time=[linspace(0,1,10^7)]';
freq=1e6;
data.signals.values=double(sin(2*pi*freq.*data.time));
data.signals.dimensions= 1;
sim('system_block')

Weitere Antworten (0)

Kategorien

Mehr zu Communications Toolbox finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by