MATLAB: I see the error “TI C64x+” cannot be found in the registry.”

configsetconfigurationerrorhardwaresimulinksimulink coder

Why I see the following error message?
TI C64x+" cannot be found in the registry. file: C:\Program Files\MATLAB\R2018b\toolbox\coder\foundation\+RTW\@TargetRegistry\getTfl.p
name: getTfl
line: 0

Best Answer

This was caused by a custom defined function with the name 'rtwTargetInfo'.

These one shadowed the built-in functionality.

To check if you have the same issue, please run:

which -all rtwTargetInfo

If you see a user-defined function, then please rename or remove it from the search path.