Matlab generated Excel add-in connecting to a server

2 views (last 30 days)
Hi!
I have written a Matlab code that I want to sell as an Excel add-in. To protect the program and to know when each user uses the add-in, I would like to include the following in my Matlab program: 1. Get the serial number of the computer you are on. 2. Send the serial number to a server (so that the server knows that the program has been used) in an encrypted form. 3. Receive an encrypted answer from the server and perform the calculation only if the license is valid on this computer.
==> I had already asked part 1 in another question, now parts 2 and 3.
- Does the .bas file generated by matlab builder ex allow network access to the wrapped compiled matlab program for licence checking purpose?
- In particular, does the tcpip function still work in an excel add in?
Thank you very much in advance!
Benoit

Answers (1)

Shaf
Shaf on 9 Feb 2011
The tcpip function is deployable. So you should be able to use it in an Excel add-in.

Community Treasure Hunt

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

Start Hunting!