Hi,
It is my understanding that, while running the MATLAB app in appdesigner, you are getting above error message. It suggests that there is an issue with loading the ‘parallel.pool.DataQueue’ object, and that it can only be loaded in a MATLAB client or one of its pool workers if it was created by any of them.
However, from the information you provided, it seems that the issue is related to loading the ‘trainedModelV7.mat’ file, and not with the ‘DataQueue’ object. As the error appears when loading the trained model, it is likely that there is a problem with the saved file itself.
Here are some things you can try to troubleshoot and resolve the issue: 1. Check that the trainedModelV7.mat file is saved correctly and can be loaded by another script without issues. Try to load the file in a new script to make sure it is valid.
2. Check that the trainedModelV7.mat file is in the right format and contains the necessary data for your app. Maybe try to save the model again or inspect the file contents in MATLAB to ensure that it contains the expected data.
3. Make sure the path to the trainedModelV7.mat file is correct.
4. Consider using a different method to load the trainedModelV7.mat file. For example, you could try loading the file like this instead:
oClassifier = matfile('trainedModelV7.mat');
For more information on ‘matfile()’ function, refer this:
If none of these solutions work, you could try clearing the MATLAB workspace and restarting MATLAB to see if that resolves the issue.
Hope this helps!
Regards,
Rasmita