Why do I get this Error everytime I open a Simulink mdl-file with R2012b

7 views (last 30 days)
Warning: An error occurred while evaluating "getrtwDefaultTargetInfo": Unable to read file rtw_default_targetInfo_tfl.mat: No such file or directory.. This custom registration is not loaded Warning: T_divide_90degree.mdl, line 471: Cannot activate configuration set 'Configuration'. In general\private\openmdl at 13 In open at 159 In uiopen at 196 Warning: Unknown device name. Type getHardwareConfigs('ProductionProps') for available device names. In general\private\openmdl at 13 In open at 159 In uiopen at 196
I think there might be a problem with admistrator rights, that I do not have.

Accepted Answer

Florian
Florian on 7 Dec 2012
I found the solution. The problem was that I have 2 Versions of Matlab installed on my computer. R2007b and R2012b the Problem was that both use the same pathdef.m file and which was originally created by R2007b. R2012b just changed the R2007b in the path to R2012b and did not add any additional folders which are necessary. So I just deleted the old pathdef.m and created a new one with R2012b. Now everything is working fine.

More Answers (1)

Jan
Jan on 7 Dec 2012
Do you find the file "rtw_default_targetInfo_tfl.mat" on your computer?
If you assume, that you need admin privilegs, I suggest to ask you admin to run the function and see, if the problem disappears. If so, ask the admin to allow the file access for your account.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!