MATLAB: How to get sample time of the model through scrip guiscriptsimulinkstateflow Hi., How to get sample time of the model through scrip? Best Answer get_param(gcs, 'FixedStep')This will only work for fixed step solvers. Note that the result returned is a string. Related SolutionsMATLAB: Executing matlab scrip from excel Please refer to this MATLAB documentation - Using MATLAB with Excel. I believe it should help you integrate the MATLAB code with Excel MATLAB: Sample time (-1 for inherited) inherit sample times Related QuestionCan’t run scripsCopyright of Matlab central scripsCan the Sample Time values be displayed along with the colors in a Simulink block diagram
Best Answer