poster
2019-12-10, 16:49
通常,当您在MATLAB中打印字符串时:
disp('this will print black letters') 可以用彩色打印吗?
回答:
如果将fprintf()为stderr ,它可能会以另一种颜色显示(我认为取决于您的偏好)。
但是,您可以(滥用) 某些未记录的功能 (http://undocumentedmatlab.com/blog/cprintf-display-formatted-color-text-in-command-window/)来获取更多信息。
更多&回答... (https://stackoverflow.com/questions/1457461)
disp('this will print black letters') 可以用彩色打印吗?
回答:
如果将fprintf()为stderr ,它可能会以另一种颜色显示(我认为取决于您的偏好)。
但是,您可以(滥用) 某些未记录的功能 (http://undocumentedmatlab.com/blog/cprintf-display-formatted-color-text-in-command-window/)来获取更多信息。
更多&回答... (https://stackoverflow.com/questions/1457461)