MATLAB compiler problem with COM port

1 visualizzazione (ultimi 30 giorni)
shehzad
shehzad il 5 Lug 2016
Commentato: shehzad il 12 Lug 2016
I have a MATLAB GUI which uses a serial COM port. I used Instrfind as well as getAvailableComPort from MATLAB file exchange. Everything works fine and I wanted to compile it to a standalone application. But surprisingly the compiled application is unable to detect COM ports... I searched over the forum and couldn't find much help except: http://de.mathworks.com/help/instrument/deploying-standalone-applications-with-instrument-control-toolbox.html
Please help me regarding the problem.
Thanks, Shehzad
  1 Commento
Walter Roberson
Walter Roberson il 12 Lug 2016
Which MATLAB version was being used? If I recall correctly, R2015b had problem compiling COM port access.

Accedi per commentare.

Risposte (1)

Vinod
Vinod il 11 Lug 2016
This should work without any additional steps.
Please contact support with a simple reproduction code that demonstrates the problem.
  1 Commento
shehzad
shehzad il 12 Lug 2016
Hi, I'm using Matlab R2015a. Not working in my case sadly.

Accedi per commentare.

Categorie

Scopri di più su MATLAB Compiler in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by