Matlab m file into ocx file.

2 visualizaciones (últimos 30 días)
Raj Shankar
Raj Shankar el 22 de Mzo. de 2012
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 comentarios
Friedrich
Friedrich el 22 de Mzo. de 2012
Do you have the Builder NE? If so, you can create a COM DLL out of your MATLAB code.
Raj Shankar
Raj Shankar el 22 de Mzo. de 2012
Hello Friedrich,
Yes I have. But still I want to use my m file as an OCX file. I did used builder NE and got a COM DLL out of that. Rather but I want an OCX file for my application. How could I do this.

Iniciar sesión para comentar.

Respuesta aceptada

Friedrich
Friedrich el 22 de Mzo. de 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 comentarios
Jan
Jan el 22 de Mzo. de 2012
@Friedrich: Instead of disabling the warning temporarily, you can use:
jFrame = get(handle(gcf), 'JavaFrame');
Friedrich
Friedrich el 23 de Mzo. de 2012
nice, thanks :)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Use COM Objects in MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by