suever / markdownpanel Goto Github PK
View Code? Open in Web Editor NEWPanel for displaying Markdown as HTML within a MATLAB GUI
License: Other
Panel for displaying Markdown as HTML within a MATLAB GUI
License: Other
I ran MarkdownPanel.demo
and it errored out.
MarkdownPanel.demo
Warning: JAVACOMPONENT will be removed in a future release. For more information see UI
Alternatives for MATLAB Apps on mathworks.com.
In javacomponent (line 94)
In MarkdownPanel.demo (line 400)
Warning: JAVACOMPONENT will be removed in a future release. For more information see UI
Alternatives for MATLAB Apps on mathworks.com.
In javacomponent (line 94)
In MarkdownPanel (line 131)
In MarkdownPanel.demo (line 405)
Error using MarkdownPanel/refresh
Java exception occurred:
java.lang.UnsupportedOperationExceptionat
com.mathworks.mlwidgets.html.HTMLRendererSupport.executeScript(HTMLRendererSupport.java:49)at com.mathworks.mlwidgets.html.HTMLRenderer.executeScript(HTMLRenderer.java:875)
at
com.mathworks.mlwidgets.html.HtmlComponentAdapter.executeScript(HtmlComponentAdapter.java:143)Error in MarkdownPanel/set.Options (line 327)
self.refresh(true);Error in MarkdownPanel (line 158)
self.Options = struct(...Error in MarkdownPanel.demo (line 405)
panel = MarkdownPanel( ...
MATLAB Version 9.13 (R2022b)
Dear author,
I'm happy to find out your repo.
However, from what I have, your util is not working on MatLab 2021 and 2022.
I check that It's working on MatLab 2018,
But on MatLab 2021, MarkdownPanel.demo()
is stuck at rendering HTML output.
On MatLab 2022, this error appears instantly:
Error using MarkdownPanel/refresh
Java exception occurred:
java.lang.UnsupportedOperationException
at com.mathworks.mlwidgets.html.HTMLRendererSupport.executeScript(HTMLRendererSupport.java:49)
at com.mathworks.mlwidgets.html.HTMLRenderer.executeScript(HTMLRenderer.java:875)
at com.mathworks.mlwidgets.html.HtmlComponentAdapter.executeScript(HtmlComponentAdapter.java:143)
Error in MarkdownPanel/set.Options (line 327)
self.refresh(true);
Error in MarkdownPanel (line 158)
self.Options = struct(...
Error in MarkdownPanel.demo (line 405)
panel = MarkdownPanel( ...
The error caused by self.htmlComponent.executeScript(jscript);
, the method executeScript no longer exists on MatLab 2022.
So could you please update your script, I found a new uihtml that intro by MatLab (Introduced in R2019b): https://www.mathworks.com/help/matlab/ref/uihtml.html
But I need something like your script which is written in Java and support from 2014 and older.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.