how to use m file in simulink
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I am very new at this,I want to use a mfile plot output to a simulation.
Let the mfile be,
x=[1 2 3 ....] y=[5 4 6 ....] plot(x1,y1,'-',x1,y1,'*')
how can i use this plot in simulink,specifically in the input block
Pls,help me.
0 Commenti
Risposte (1)
Kaustubha Govind
il 26 Giu 2014
Not sure what you mean by "use the plot in Simulink" - do you just need to use x as time and y as data in the model? In that case, you want may to look at the documentation for Import Data to Root-Level Input Ports and Import Data Arrays.
0 Commenti
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!