Executable Won't run on another Machine

I compiled an example to test TCP/IP communication and it works on the computer with Instrument Control Toolbox installed and active license machin, and transported the executable to a second machine, which has the same MCR library, but no matlab package, The executable won't run but gave the following error message.
C:\90924-TCPIP>tstserver.exe
Error in extracting CTF file to 'C:\Users\Owner\AppData\Local\Temp\Owner\mcrCache9.2\tstser0'. Details: 'Could not close zip entry that was open for read'
Could not access the MATLAB Runtime component cache. Details: Some error has occurred in the file: b:\matlab\standalone\mclmcr\core\mclctffileextractor.cpp, at line: 64.
The error message is:
Error in extracting CTF file to 'C:\Users\Owner\AppData\Local\Temp\Owner\mcrCache9.2\tstser0'. Details: 'Could not close zip entry that was open for read'
C:\90924-TCPIP>tstclient.exe
Error in extracting CTF file to 'C:\Users\Owner\AppData\Local\Temp\Owner\mcrCache9.2\tstcli0'. Details: 'Could not close zip entry that was open for read'
Could not access the MATLAB Runtime component cache. Details: Some error has occurred in the file: b:\matlab\standalone\mclmcr\core\mclctffileextractor.cpp, at line: 64.
The error message is:
Error in extracting CTF file to 'C:\Users\Owner\AppData\Local\Temp\Owner\mcrCache9.2\tstcli0'. Details: 'Could not close zip entry that was open for read'

回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Interface-Based Instrument Communication 的更多信息

产品

版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by