Turns out it works if you call it like this:
test.exe "abc" "namedArg1" "tstMsg"
I just had a bug in my original function when I tested it but this works.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!