[Appdesigner-uihtml] Is Drag and Drop supported? or any HTML5 APIs?
9 次查看(过去 30 天)
显示 更早的评论
I have a static HTML site that I would like to display on my GUI created using app designer. This html takes in a user's file through drag and drop. I can render the html on a uihtml figure, but it does not respond to drag and drop DOM events.
Is there a way I can implement drag and drop in this instance? Does the MATLAB uihtml override the mouse over event so do I have to re-implement my javascript logic in appdesigner? Is there any performance impact from passing data from MATLAB to javascript and back again?
0 个评论
回答(1 个)
Samay Sagar
2024-4-26
I have also faced a similar issue when using drag and drop with “uihtml” in MATLAB Desktop. As mentioned in the MathWorks documentation available here https://in.mathworks.com/help/releases/R2021a/matlab/ref/uihtml.html#mw_d8fc1e12-fa02-43b8-bfaa-db9dd0f2c8dd:~:text=in%20pixel%20units.-,Limitations,-You%20cannot%20link on MATLAB desktop certain HTML features such as web plugins and access to webcams or microphones are not supported. Dragging and dropping external files is also one of the limitations on MATLAB desktop. However, upon trying “drag and drop” on MATLAB online, I found that it was working as expected. I would recommend experimenting with this feature in MATLAB Online to see if it meets your project's requirements.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!