MATLAB: dealing with java.lang.String
- by Jason S
I seem to be stuck in Kafka-land, with a java.lang.String that I can't seem to use in MATLAB functions:
K>> name
name =
Jason
K>> sprintf('%s', name)
??? Error using ==> sprintf
Function is not defined for 'java.lang.String' inputs.
K>> ['my name is ' name]
??? Error using ==> horzcat
The following error occurred…