Problems with standalone application on a different PC

2 views (last 30 days)
Hi,
I built a standalone application that loads multiple .csv files from a folder, analyzes them and plots a figure. The code and the final application work fine on my PC. When I transfered the application with the data to another PC I am having issues. I installed the Matlab Runtime 2020a version but the plots are all empty and axis settings are not as they should be.
I also noticed that I get an error when I run the application on the PC "fill missing constant must be empty". I do not get this error on the PC where I built the application.
Are these issues related to settings in excel or is something else causing the issue here?
Thanks.
  5 Comments
Konvictus177
Konvictus177 on 27 Jul 2021
Hello,
I am using the "readmatrix" function to load the files.
The function I wrote myself is a getPaths2Data function that gives me the filepaths to my files that are read with "readmatrix" for every file.
I was using the fillmissing function and was getting the "fill missing constant must be empty" error. I changed the code so that I am not using this fillmissing function anymore and the application can be executed completely but my acutal figure at the end is empty. So I guess my application is not loading the data on this new PC. On the PC where I built the application, everything works.
When I am at my desk again I will try the logfiles and the things you have mentioned in your post above. However, I still do not really understand why the application is working on my PC where the application was built and not on the other PC.
Thanks.
Konvictus177
Konvictus177 on 27 Jul 2021
I was able to solve this. The problem was linked to how I was getting the path and filename to my data files in my data folder.

Sign in to comment.

Answers (0)

Categories

Find more on Function Creation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!