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

6 views (last 30 days)
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?

Accepted Answer

Ankriti Sachan
Ankriti Sachan on 12 May 2020
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.

More Answers (0)

Categories

Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!