Undefined function 'ne_build_mh_rpg_rc' for input arguments of type 'char'

9 views (last 30 days)
Undefined function 'ne_build_mh_rpg_rc' for input arguments of type 'char'.
Error in matlabrc (line 58)
ne_build_mh_rpg_rc('C:\Program Files (x86)\NewEagle\RPG Builder\0.0.24'); %% Added by NE RPG Builder
I got this error once I downloaded raptor cal to matlabs and I've been stuck on how to fix it.

Answers (2)

Anshuman
Anshuman on 23 Mar 2023
Hi Jairo,
The function 'ne_build_mh_rpg_rc' seems to be related to a program called "NewEagle RPG builder" that you have installed.
You can try these following steps to resolve:
  1. Check if the NewEagle RPG Builder is installed correctly and up-to-date. If not, try reinstalling or updating the software.
  2. Make sure that the path to the NewEagle RPG Builder is added to the Matlab search path. To do this, go to the "Set Path" option in the Matlab "Home" tab and add the path to the RPG Builder folder.
  3. Check if there are any conflicts with other Matlab toolboxes or functions. Try running Matlab with all other toolboxes disabled and see if the error still occurs.
Hope it helps!

Everrati
Everrati 1 minute ago
I have just encountered this and worked it out... here are my notes:
If you do not have the following Command Window output when starting MATLAB, then the link between MATLAB and Raptor has not been established:
##### Initializing Raptor...
##### Raptor Version: 2024a_2.0.15506
##### Raptor Initialized
Navigate to your vector install directory, mine was "C:\Program Files (x86)\NewEagle\Raptor\2024a_2.0.15506\build"
Run the "raptor_conf_editor" exe and follow the steps in that wizard.
If you still have warnings regarding your RPG builder, then a solution to try (worked for me) is actually in the comment of the matlabrc.m startup file that was added by the Raptor toolchain install; as advised, type in the Command Window:
rehash toolboxcache
Restart MATLAB
Hope that helps someone!

Categories

Find more on Downloads 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!