MATLAB: How to import data to Signal Builder block from matlab script

data importguidematlab guisignalsimulink

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?

Best Answer

  • 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- And then you can run this model from GUI as you intend to do.