run m-file from push button in Matlab GUI
이전 댓글 표시
Hello
I need to run an untitled.m (mfile) by hitting an push button in GUI. This m-file is a script. It contains only some variables. These variables are just numbers, not an array or structure..etc.These numbers are needed for running simulink model.
So this is my problem. GUI,2 buttons, one runs mfile,second runs simulink model using data from mfile. I tried several things which i found using google,i solved nothing
Any ideas? Thanks a lot for your time and help
댓글 수: 1
Rick Rosson
2012년 4월 10일
Is the untitled.m file saved to disk, or is it only in memory?
채택된 답변
추가 답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 Whos에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!