How to use ActiveX in Matlab Web Apps?

Hi, I'm trying to develop a software by using appdesigner,that its output is an Excel file. I have to insert image files in that Excel file and I did it by using ActivX fucntions, But it doesn't work when I compile the code by using webAppCompiler. How should I do to solve this problem?

5 Comments

What do you mean does not work? any error?
No, I didn't get any error, it just doesn't do the task I defined.
Does it start the excel process at all? You can easily check by making excel visible after you've acquired the instance with actxserver.
I don't know anything about matlab coder but I don't see how this would affect activeX. Most of the communication is handled directly by the OS, not matlab.
No, the excel doesn't start at all.
Same for my application. I use actxserver to call a program for data conversion. In the logfile of WebAppServer I find:
out=Error using feval
out=Server Creation Failed: Zugriff verweigert
out=Error in actxserver (line 89)
How to allow connection?

Sign in to comment.

Answers (0)

Asked:

on 24 Oct 2018

Edited:

on 12 Nov 2018

Community Treasure Hunt

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

Start Hunting!