Effacer les filtres
Effacer les filtres

not geeting how to read data from workspace ?

1 vue (au cours des 30 derniers jours)
Aniket
Aniket le 18 Avr 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.

Réponses (0)

Catégories

En savoir plus sur Interactive Model Editing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by