Is it possible to load discrete signal in Signal Builder?

3 次查看(过去 30 天)
Created signal from code by using structure.time & structure.signals.values
The imported signal in Signal Builder is continuous, even if the sample time is set to 1 in Simulink Option.
Just wondering if it is possible to created digital discrete signal (square wave, two values on one time point) from code and loaded in Signal Builder.
I checked export variable contents from signal builder, square wave is captured as two identical values in time, and two values for sample. Just wondering if there is more efficient coding technique to generate signal.
Thanks for any hints,

回答(0 个)

类别

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

产品

Community Treasure Hunt

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

Start Hunting!

Translated by