fileparts not working properly in deployed application in matlab 2017a

1 次查看(过去 30 天)
when i use fileparts in matlab it gives me the corect value
filepath = fileparts('a/b/c.txt')
% filepath = a/b
however, when i use the function with an executable it gives me a blank path (''). I dont know what is wrong.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by