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')

More Answers (0)

Categories

Find more on Communications Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!