MATLAB compiler problem with COM port

조회 수: 9 (최근 30일)
shehzad
shehzad 2016년 7월 5일
댓글: shehzad 2016년 7월 12일
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
Walter Roberson
Walter Roberson 2016년 7월 12일
Which MATLAB version was being used? If I recall correctly, R2015b had problem compiling COM port access.

댓글을 달려면 로그인하십시오.

답변 (1개)

Vinod
Vinod 2016년 7월 11일
This should work without any additional steps.
Please contact support with a simple reproduction code that demonstrates the problem.
  댓글 수: 1
shehzad
shehzad 2016년 7월 12일
Hi, I'm using Matlab R2015a. Not working in my case sadly.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 COM Component Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by