Matlab generated Excel add-in connecting to a server

1 次查看(过去 30 天)
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

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Excel Integration 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by