Borrar filtros
Borrar filtros

Run applicaton by using MATLAB Runtime Error:clas​s:InvalidS​uperClass

2 visualizaciones (últimos 30 días)
haohao Zhang
haohao Zhang el 26 de Mzo. de 2020
Comentada: Oli Fairfax el 8 de Abr. de 2024
I need your help about MATLAB Runtime Error.
Error information is as below:
========================================
The variable 'DataSourceInformation' failed to load, and has been replaced with an empty array. This might have happened if its class does not exist on the path.
Error using controllerVFH
The specified superclass 'nav.algs.internal.VectorFieldHistogramBase' contains a parse error, cannot be found on MATLAB's search path, or is shadowed by another file with the same name.
Error in TwoWheel_DiffDrivePathFollowing_RevC (line 74)
MATLAB:class:InvalidSuperClass
========================================
My environment:
  • OS: Linux Ubuntu 18.04
  • MATLAB: 2019b
  • MATLAB Runtime: V97
Description:
  • Program worked OK under MATLAB
  • Application compiled OK by using Application Compilier.
  • But, once to run the compilied app, Error happened.
  • the program around Line74 is as bellow:
% Vector Field Histogram (VFH) for obstacle avoidance
vfh = controllerVFH;
vfh.DistanceLimits = [0.05 3];
vfh.NumAngularSectors = 36;
vfh.HistogramThresholds = [5 10];
vfh.RobotRadius = L;
vfh.SafetyDistance = L;
vfh.MinTurningRadius = 0.25;
Thanks and wait for your reply.
  1 comentario
Oli Fairfax
Oli Fairfax el 8 de Abr. de 2024
Did you ever resolve this? I am getting the error regarding "DataSourceInformation" too on my MacOS compiled version but no other errors so I don't think it's related to your other error of controllerVFH.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Get Started with MATLAB Compiler SDK en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by