matlab_kernel icon indicating copy to clipboard operation
matlab_kernel copied to clipboard

UI elements with matlab_kernel

Open expectopatronum opened this issue 8 years ago • 4 comments

Hi,

is it possible to have UI elements (maybe through widgets) with a MATLAB kernel? I have googled a lot but I could not find any answer. I would also be happy if you can give me a link if this is already answered :) Most important for me would be buttons (user clicks and some code is executed) and textboxes (user enters a value and it's stored into a MATLAB variable).

Best regards, Verena

expectopatronum avatar Feb 21 '17 07:02 expectopatronum

Hi @expectopatronum; unfortunately, not. You'd have to use the the Matlab UI forms directly.

blink1073 avatar Feb 21 '17 16:02 blink1073

(as in, not inline in the notebook but as a standalone Matlab window).

blink1073 avatar Feb 21 '17 16:02 blink1073

Is there the plan to incorporate something like this? I tried creating a uicontrol and to my surprise it didn't generate it an error, but it's also not usable, because it just renders an image. image

I'd also be happy to implement something myself, I guess in combination with jupyter-js-widgets it should be possible but I'm not yet sure where to start.

expectopatronum avatar Mar 16 '17 13:03 expectopatronum

I'm not actively adding features because I don't have a Matlab license. We happily accept feature PRs though :smile:.

blink1073 avatar Mar 16 '17 22:03 blink1073