Matlab m file into ocx file.
2 views (last 30 days)
Show older comments
Can I convert my m file into an .ocx file ? I have converted my m file into a .dll file using the deploytool option. Whether can I do the former ? And I need to register that .ocx file in my Windows Activex Control List ? Please tell me how?
2 Comments
Friedrich
on 22 Mar 2012
Do you have the Builder NE? If so, you can create a COM DLL out of your MATLAB code.
Accepted Answer
Friedrich
on 22 Mar 2012
Hi,
you wont be able to create an OCX file out of your MATLAB code.
I guess you want OCX to embed a MATLAB figure or your MATLAB GUI in some other application right? What other application is that?
5 Comments
Jan
on 22 Mar 2012
@Friedrich: Instead of disabling the warning temporarily, you can use:
jFrame = get(handle(gcf), 'JavaFrame');
More Answers (0)
See Also
Categories
Find more on Use COM Objects in MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!