Encoding bold font, font color, filter etc from Matlab to csv

thomaslyngfelt

New Member
Joined
Nov 14, 2017
Messages
3
I am creating a csv file from a Matlab script.

Is there a way to inject other than standard font attributes from the script? Like bold fonts, different colors of the fonts, sorting filters etc?

Theese attributes is editable when opening the csv in Excel so it should be possible to encode.

Unfortunately I cant use a xlsx file and commands like xlswrite, since the script is running on a non Windows platform.


BR
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
If you are saving the file as a csv then any formatting will be lost when you close the file.
 
Upvote 0
If you are saving the file as a csv then any formatting will be lost when you close the file.


You are right, I didnt realize this. But as long as the file is not saved the formatting will stick right? Why does csv works like this? Can this "feature" be disabled?

Back to my original question, can formatted strings (i.e old or font size/color) be injected from Matlab?


Br
 
Upvote 0
Why does csv works like this? Can this "feature" be disabled?
A csv is a form of text file & as such cannot hold formatting.

As I know nothing about MatLab, I cannot answer you 2nd question.
 
Upvote 0

Forum statistics

Threads
1,214,923
Messages
6,122,283
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top