MATLAB Answers

How to insert markdown formatted instructions into AppDesigner?

1 view (last 30 days)
Dominik Mattioli
Dominik Mattioli on 1 Oct 2020
Commented: Mohammad Sami on 1 Oct 2020
I'd like to insert my README.md instructions file into a textbox or panel within my app. I have only found documentation about publishing markup, and I'm not sure if it's possible to convert it. Here's my code.
fid = fopen( locateReadMe );
txt = "";
while ~feof( fid )
txt = vertcat( txt, fgetl( fid ) );
end
fclose( fid );
app.TextArea.set( 'Value', txt );
There is no interpreter for this ui control so the text just pastes as is.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!