Why are built-in functions like typeof not recognized in Matlab2017a despite their source code being within the standard installation and path?

Attempting to run prior code on a new installation of Matlab2017a on Windows 10. Standard built-in functions such as typeof are generating errors such as 'unknown function' despite the source files being in the standard installation and (I assume) in the standard path. (some folders carry + or @ symbols and are not mentioned explicitely but must be present?).
Has coder.typeof replaced typeof and all prior instances must be converted?

2 Commenti

? There is no typeof() in MATLAB. There is coder.typeof() which I would not expect to be commonly used.
I find no evidence that typeof existed before R2011a, at which time it came in as coder.typeof

Accedi per commentare.

Risposte (1)

I don't know what's causing your problem, but I don't have typeof(). Perhaps it was a custom written function for which you misplaced the course code of. Perhaps you can use a related function like class(), isa(), or (in some functions) the 'like' input argument.

Categorie

Scopri di più su Instrument Control Toolbox in Centro assistenza e File Exchange

Richiesto:

il 28 Lug 2017

Risposto:

il 29 Lug 2017

Community Treasure Hunt

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

Start Hunting!

Translated by