Calling executables from MATLAB
조회 수: 6 (최근 30일)
이전 댓글 표시
I am an under grad life sciences student and a self-taught MATLAB user. I am working on a tool to classify genotoxins(using neural networks) and for this purpose I will be using molecular descriptors (quantitatively expressed physicochemical properties of chemical compounds).
To calculate descriptors for my training set I used a tool called Mold2, which has a command line interface. Now I am done with training and have my network. I need to create a GUI for my tool which is supposed to get inputs from the user and call mold2 to create an output file, the output file should again be taken back into MATLAB to simulate my network.
I need to know if this whole idea is possible and if possible, how should I go about it??
댓글 수: 0
채택된 답변
Paulo Silva
2011년 1월 22일
You can send commands to your OS command line, here's one example that runs in MS Windows 7, don't know about other OS but might be similar
eval('!calc.exe') %this will open windows calculator
The eval calls matlab expressions, if you put one ! before your command will be executed in the OS command line.
댓글 수: 6
Jiro Doke
2011년 1월 25일
You can either build in an interface to ask the user to select the path to your mold2 program, and call it with the full absolute path, or you can include mold2 program as additional files when you create your standalone version. Take a look at the documentation for MATLAB Compiler on how to add additional files to your application.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!