what is Error in Matlab.sys​tem.System​Prop.creat​eVersionNu​mber??

hey guys,
in the middle of regular work, my MATLAB had this sudden death error, shows like this -
Error in Matlab.system.SystemProp.createVersionNumber
Invalid default value for property 'MajorVersionNumber' in class 'Matlab.system.SystemProp': Undefined function 'minus' for input arguments of type 'cell'.
and this occurs only when trying to run specialized toolbox functions which i use all the time....
I am running MATLAB 2019B V9.7, on macOS Catalina 10.15.3.
anyone else had this problem?
thanks ahead!

10 comentarios

One of the third party toolbox is defining its own version of a function that MATLAB relies on.
Thanks Walter,
i found the causing file and it worked out.
hello, could you tell us how you resolved this problem? thank you
I also experiencing the same behaviour using matlab 2020b; a previous running simulink code has now two times this error:
The delimiter should be a non-empty char string.
  • Invalid default value for property 'MajorVersionNumber' in class 'matlab.system.SystemProp': The delimiter should be a non-empty char string.
it seems to happen in strsplit function whoch is called internally from the matlab.system class
and the also inside the digital signal processing toolbox
If declare no matlab.system classes the only error is inside proprietary dsp toolbox functions:
writer = dsp.BinaryFileWriter(filename, 'HeaderStructure', header);
Invalid default value for property 'MajorVersionNumber' in class 'matlab.system.SystemProp':
The delimiter should be a non-empty char string.
Error in matlab.system.SystemProp.createVersionNumber
same error also with matlab version 2020a in several simulink functions...
so also thanks walter
Ah, thanks for the update!
Thank you Philipp, this was the right solution!

Iniciar sesión para comentar.

 Respuesta aceptada

Philipp Engels
Philipp Engels el 3 de Nov. de 2020
Movida: Walter Roberson el 22 de Ag. de 2022
found the rootcause: the function strsplit.m was doubled in a subfolder of my routines. I deleted the function.

Más respuestas (0)

Categorías

Más información sobre Waveform Design and Signal Synthesis en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 8 de Mzo. de 2020

Movida:

el 22 de Ag. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by