MATLAB: How to import a data to constant block that into the different simulink model matlab gui I have a simulink model that its name is gui. And I want to send two data from gui to simulink model'S constant block. How can I do this? Best Answer You should use set_param command as follows:set_param('gui/Constant','Value','i')set_param('gui/Constant1','Value','j') Related SolutionsMATLAB: Problem when running a GUI to open, display and plot excel data from a *.xls file. Apparently, you have two functions with the exact same name.function [x,y] = readExcelColumns(fileName,xColNum,yColNum) MATLAB: GUI Interface Arduino Error The variable 'a' which stores the arduino object is being cleared. Have you checked if that is causing the issue? Related QuestionFunctions and Plotting in GUIError using handle.handle/set Invalid or deleted object.
Best Answer