Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. fprintf( '%s', my_str );
  2.  
  3. >>disp string %command format for single string arguments
  4. string
  5. >>disp 'string test'
  6. string test
  7. >>disp ('string test') %function format
  8. string test
  9.  
  10. >> test= 'string';
  11. >> disp(test)
  12. string
  13.  
  14. >>disp string test
  15. Error using disp
  16. Too many input arguments.
  17.  
  18. >> a = 'string';
  19. >> a
  20.  
  21. a =
  22.  
  23. string
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement