How to make a Stand alone Application contains Surface fit !!
조회 수: 1 (최근 30일)
이전 댓글 표시
i've finished my small program but there is a problem, i am using
fit2 = evalin('base','fit2')
but fit2 must be in the work space, the problem is after compiling the program it doesnt run, because there is no work space, i am trying to find a funtion that make matlab reads that surface fit directly from the computer not the work space can any one help .. ! thx in Advance
댓글 수: 0
답변 (1개)
Image Analyst
2013년 2월 19일
Well how did it get into the workspace? If it wasn't generated by your program, then you probably read it in from a file. Just do the same thing in your compiled app.
댓글 수: 6
Image Analyst
2013년 2월 20일
Most likely it doesn't work because you didn't specify the proper folder. In fact you probably didn't specify any folder at all and expected the file to live in the same folder as the executable. This is reasonable, but unfortunately, wrong. You must specify the folder where it lives, because the current folder when you executable runs is not the folder where the .exe is, it's some secret hidden folder that you'd never guess where it is.
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!