Hi! I get an error for folowing line of code: "file_a = substring(char(file_a), 0, findstr(char(file_a), '_')-2);". Matlab returns an error: "??? Undefined function or method 'substring' for input arguments of type 'char'.". There is no substring function in matlab... How did you solve this ?
Hello! Your examples work perfectly. But I have a problem with different thing.I'm trying to pass bitmap image from C# to Matlab, process it there and then return it back to C#.
I tried with this example: http://www.mathworks.com/support/solutions/en/data/1-33B9S6/index.html?product=MN&solution=1-33B9S6 but the problem is always the same: "??? Undefined function or method 'imshow' for input arguments of type 'double'" I tried to pass byte array too, but no success. If anyone can help me, I would be very grateful..