'matlab.System' cannot be found in Signal Processing Toolbox Support Package for Linux IIO Devices
4 views (last 30 days)
Show older comments
I am creating a standalone desktop app with Matlab compiler. My app utilizes the Signal Processing Toolbox Support Package for Linux IIO Devices with the matlabshared.libiio.sharedmem.read() function. When utilizing the compiler, it gives suggestions for files to be included and thus includes the read.p file. It gave a warning that dependencies for .p file cannot be scanned, which I think is relevant to the issue. When I try to launch the standalone app, I get the error: the specified superclass "matlab.System" contains a parse error, cannot be found on MATLAB's search path, or is shadowed by a file with the same name. I don't have much experience working with this package but my guess is that read.p references matlab.System. I am not sure how to resolve this. Thanks
0 Comments
Answers (1)
Shivani
on 12 Jun 2024
Hello @Thomas J Kelly
The error you're encountering with your standalone desktop application compiled with the MATLAB Compiler, particularly involving the 'matlab.System' superclass, suggests a potential issue with how the MATLAB Runtime finds and loads the necessary classes and packages.
Possible workarounds to this issue are elaborated in this MATLAB Answer: https://www.mathworks.com/matlabcentral/answers/1776315-why-am-i-getting-the-error-the-specified-superclass-xyz-contains-a-parse-error-cannot-be-found-o
This answer specifically addresses the scenario where the error message appears while executing a MATLAB standalone executable created with the MATLAB Compiler. It suggests ensuring that your system's path correctly points to the MATLAB Runtime version that matches the MATLAB release and update used for deployment. For more information on configuring your system path for MATLAB Runtime, refer to the documentation provided here: https://www.mathworks.com/help/compiler/mcr-path-settings-for-run-time-deployment.html"
See Also
Categories
Find more on Software Development Tools 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!