change the input data, by application compiler
显示 更早的评论
hello
I would like to know if it's possible after creating the executable file by application compiler, to change the input data, i.e. input data in the form of Excel file, and run the code with other new data ?
Thank you
5 个评论
Mohammad Sami
2020-12-3
Short answer yes it can be done. You will need to prompt the user to select the file. Use the function uigetfile to prompt the user to select the file.
https://www.mathworks.com/help/matlab/ref/uigetfile.html
yousef swesi
2020-12-3
yousef swesi
2020-12-3
Mohammad Sami
2020-12-4
Is the file path in error message correct location of the file?.
Try the following way to get full path to the file selected.
[file,path] = uigetfile();
fullpath = fullfile(path,file);
yousef swesi
2020-12-4
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Compiler 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!