several p-code dates are older than m files

5 vues (au cours des 30 derniers jours)
Patrick Cross
Patrick Cross le 6 Mai 2019
Warnings:
str2double.p may be obsolete and may need to be regenerated.
cell2mat.p is older than MATLAB file, ....
I would like to fix this issue, especially as it continues to write to the command window, especially if it slows down the parallel programming performance. Either fix it, or turn the warning off.

Réponses (1)

Steven Lord
Steven Lord le 6 Mai 2019
Can you check that you haven't defined a function named str2double or cell2mat that is shadowing the ones included in MATLAB?
which -all str2double
which -all cell2mat
You should see both str2double.p and str2double.m in toolbox\matlab\strfun, with str2double.m listed as Shadowed, and similarly for cell2mat.p and cell2mat.m in toolbox\matlab\datatypes with cell2mat.m Shadowed. You may also see other copies that are methods of certain types of objects, but do you see any definitions of those functions outside your matlabroot?

Catégories

En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by