How to insert markdown formatted instructions into AppDesigner?

조회 수: 7 (최근 30일)
Dominik Mattioli
Dominik Mattioli 2020년 10월 1일
댓글: Mohammad Sami 2020년 10월 1일
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
Mohammad Sami 2020년 10월 1일
The potential option you have is to use uihtml (>= R2019b) and a thrid party js library.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 App Building에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by