Azzera filtri
Azzera filtri

not geeting how to read data from workspace ?

2 visualizzazioni (ultimi 30 giorni)
Aniket
Aniket il 18 Apr 2013
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.

Risposte (0)

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by