How can I import data to Signal Builder block from matlab script?

6 次查看(过去 30 天)
I have some signal datas. I have to import to simulink and I have to use signal builder. I have to import file form matlab script because I will run simulink model from gui. I cannot use singaleditor() command because it opens the signal editor. I want to just set the editor. How can ı do that?

采纳的回答

Ankriti Sachan
Ankriti Sachan 2020-5-12
If you do not want to use signalEditor() from the command line, you can try adding SignalEditor block itself to your model and import that to that block as mentioned here- https://www.mathworks.com/help/simulink/ug/load-data-with-interchangeable-scenarios.html#mw_dff7028b-feee-4c3c-8539-127eed79dd1e. And then you can run this model from GUI as you intend to do.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Prepare Model Inputs and Outputs 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by