fileparts not working properly in deployed application in matlab 2017a

1 view (last 30 days)
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.

Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!