How to insert markdown formatted instructions into AppDesigner?
6 ビュー (過去 30 日間)
古いコメントを表示
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.
2 件のコメント
Mohammad Sami
2020 年 10 月 1 日
The potential option you have is to use uihtml (>= R2019b) and a thrid party js library.
Mohammad Sami
2020 年 10 月 1 日
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!