Why deplyoed executable file doesn't read *.MAT file ?

1 次查看(过去 30 天)
I am working on classification using Neural Network tool.I've made a GUI which will take user given data attributes and classify it by the trained neural network and will show the perfect class of the product where does it belong.This GUI,who is taking some stored data by loading a *.mat file, is working great while running on Matlab but when I've deployed this GUI and a standalone exe file's been produced then it's become unable to read anything from the *.mat file but doing the rest activities fine (apart from reading the data from the .mat file). Please anybody knowing the remedy of that problem reply me.How I'll be able to make read that standalone executable file the data from that .MAT file ? Thank you.

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2013-3-28
编辑:Azzi Abdelmalek 2013-3-28
When you load tour mat file, did you use
load('yourmatfile') % This recognize the current folder in Matlab but not in your executable
You should use
load('yourfolder/yourmatfile')
  4 个评论
JIT
JIT 2013-3-28
Yes I tried this but after deploy that exe is still unable to read the MAT file.I've used, load('APPLICATION/data.mat'); where data.mat is in the folder named 'APPLICATION' and the .m file does also belong there.
Azzi Abdelmalek
Azzi Abdelmalek 2013-3-28
编辑:Azzi Abdelmalek 2013-3-28
No, I said
data=load('APPLICATION/data.mat')
not
load('APPLICATION/data.mat')

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by