Clear Filters
Clear Filters

'matlab.System' cannot be found in Signal Processing Toolbox Support Package for Linux IIO Devices

4 views (last 30 days)
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

Answers (1)

Shivani
Shivani on 12 Jun 2024
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.
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"
  1 Comment
Thomas J Kelly
Thomas J Kelly on 12 Jun 2024
Thanks for your reply,
It doesn't appear that there are any conflicting paths that are causing this issue (matlab.System only exists under root). Furthermore, my path variable is set correctly to my runtime. Still getting the same error. Any other ideas? Thanks

Sign in to comment.

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!