How to run a outside function inside a GUI m file?
이전 댓글 표시
Kindly looking for help. Thank you very much.
I have created a GUI named "marchtry"
function varargout = marchtry(varargin)
I wanna run a outside function (m-file) named "config.m" in the GUI m-file
[dio0, ain0, aout0] = config('test2.cal')
If I put the above line in the GUI m-file, it was not working. "config.m" is a configuration file for data acquisition. dio0, ain0, aout0 are all device objects and test2.cal is a txt file which need to be opened in "config".
Thank you.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 National Instruments Frame Grabbers에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!