Issue while launching my standalone application which works with Picoscope

1 次查看(过去 30 天)
Hello,
I created a standalone application for measuring and postprocess perposes. The latter uses a picoscope device. The compiler does not detecte any warning or errors. When I launch the measurement with the application a dialog box appears as you can see below:
When I push the "OK" botton it sends me to mathworks in order to download the PicoScope matlab fonctions even if they are already compiled. After that the application continue the excusion to finaly have the results. Can you help me out to remove this warning ?
Best Regards,

回答(1 个)

Abhishek Chakram
Abhishek Chakram 2023-12-20
Hi Atef Lekdim,
I understand that you are facing an issue in launching a standalone application which works with Picoscope. It seems that the standalone application is expecting certain PicoScope MATLAB functions or toolbox components to be available on the system where it's running. Here are few steps to troubleshoot and resolve the issue:
  1. Ensure that all the required files and dependencies are included when the application is compiled. Use the “-a” flag with the “mcc” command to add files or directories to the standalone application package.
  2. Ensure that the code does not have static references to the MATLAB path or toolboxes, as they won't be available on the end-user's machine. Instead, use relative paths or determine paths programmatically at runtime.
You can refer to the following documentation to know more about the functions used:
Best Regards,
Abhishek Chakram

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by