Coder Social home page Coder Social logo

markdownpanel's People

Contributors

suever avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

markdownpanel's Issues

demo errors out in Matlab R2022b Update 6

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.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( ...

ver

MATLAB Version: 9.13.0.2320565 (R2022b) Update 6
Operating System: Microsoft Windows 10 Enterprise Version 10.0 (Build 19045)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode

MATLAB Version 9.13 (R2022b)

MarkdownPanel no longer works on MatLab 2021 or older.

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.