not geeting how to read data from workspace ?

2 次查看(过去 30 天)
hello i am using simulink and i want to use workspace data as an input to my system in simulink ...
i am creating white gaussian noise in matlab and saved it in one mat file and then use load command to get data in matlab workspace and in simulink i am using from workspace (simin) block to read data from workspace but when i am running simulink model it gives me block error for dimensions ...
***
code for generating input and saving in matfile *********
q = wgn (1,10,0.005) save noisedata.mat q
then i am loading this in ma main script using
load noisedata.mat
***********************
and use this q variable in simin block to read the data from workspace....
this is my simulink model , i am not getting what is wrong please suggest ways.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by