Calling executables from MATLAB
3 次查看(过去 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!