signal builder: repeat a signal for n times in one simulation (not to be confused with running in succession)
Afficher commentaires plus anciens
Hello,
is it possible to repeat signals of the signal builder periodically, so that it would be possible to run maybe 6 times cycle 1 and 1 times cycle 2 without building up ultra-long signals by hand? Running signals in succession is not what I am looking for, since the system changes from cycle to cycle (e.g. heating up).
Regards
Andreas
1 commentaire
Fangjun Jiang
le 15 Juil 2011
+1, Good question! I am bump it up to see if there is an easy way to generate a periodic signal in Signal Builder block.
Réponses (6)
Doug Eastman
le 19 Juil 2011
0 votes
Currently the only options for extending the signal beyond the time range in which it is defined in the Signal Builder block are Set to zero, Hold final value, or Extrapolate.
You could either use the From Workspace block or Inport block to pull in data directly from MATLAB or you could programatically build your Signal Builder block using the SIGNALBUILDER function.
Fangjun Jiang
le 19 Juil 2011
0 votes
It sounds like that currently Signal Builder block can't do that. The Repeating Sequence block from Source library can easily do this. I think Signal Builder block needs to be expanded to have this capability. Imaging that all your signals are built into groups, this inconvenience prevents your from press that "run all" button.
Andreas
le 10 Nov 2015
0 votes
Praveen Kumar Kuppusamy
le 29 Mar 2017
0 votes
But the 'Lithium 2rc circuit' model of mathworks has the repeating blocks. Anyone knows how they made it ?
1 commentaire
Varnim Goyal
le 3 Juil 2018
So did u find the answer
Catégories
En savoir plus sur Signal Import and Export dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

