htmlEntities - decode/encode html entities
Version 1.0.2 (4.81 KB) by
YT
An easy to use function to decode/encode html entities. Provided with 'entities.mat' which is a table consisting of chars and entities.
%%% 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://nl.mathworks.com/matlabcentral/fileexchange/70161-htmlentities-decode-encode-html-entities), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2018b
Compatible with R2016b and later releases
Platform Compatibility
Windows macOS LinuxCategories
Find more on Resource Allocation Modeling in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
