SHARE
TWEET

Untitled

a guest Jun 16th, 2019 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top