How to call a character vector from a function?

I am using a function that needs to receive the following data: Folder='\\cosas\matlab\Luis\NCR\1st' but it doesn't work when I call the inputa argument Folder, from the function, it just says that is is read as a number.

1 个评论

You need to show some code if you are experiencing issues with this. It is easy to do, but clearly something in your understanding of how to do it in your code is missing.
You should just be able to pass it in as an input argument and use it.

请先登录,再进行评论。

回答(0 个)

评论:

2018-8-29

Community Treasure Hunt

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

Start Hunting!

Translated by