Issue while launching my standalone application which works with Picoscope

1 visualizzazione (ultimi 30 giorni)
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,

Risposte (1)

Abhishek Chakram
Abhishek Chakram il 20 Dic 2023
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

Categorie

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

Prodotti


Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by