I mean to print the value of a variable myvar of unknown type, concatenated with arbitrary text, without a newline.
I know how to print without a newline: printf('My var = %<format specifier>, is it ok for you?', myvar), but this requires knowing the type of myvar.
I know how to print the value of a variable of unknown type: disp(myvar), but this always prints a newline (besides the fact I wouldn't know how to concatenate via disp).
How would I get My var = <any variable>, is it ok for you?<no newline> printed?