htmlEntities - decode/encode html entities

An easy to use function to decode/encode html entities. Provided with 'entities.mat' which is a table consisting of chars and entities.

You are now following this Submission

%%% HOW TO USE

%decode
decodedString = htmlEntities('my/path/to/entities.mat','my encoded strïng',0);
>> 'my encoded strïng'

%encode
encodedString = htmlEntities('my/path/to/entities.mat','my strïng',1);
>> 'my strïng'

Cite As

YT (2026). htmlEntities - decode/encode html entities (https://ch.mathworks.com/matlabcentral/fileexchange/70161-htmlentities-decode-encode-html-entities), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Resource Allocation Modeling in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with R2016b and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.2

Updated description / how2use

1.0.1

Updated description / how2use

1.0.0