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 个评论

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...
Thank you Philipp, this was the right solution!

请先登录,再进行评论。

 采纳的回答

found the rootcause: the function strsplit.m was doubled in a subfolder of my routines. I deleted the function.

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Waveform Design and Signal Synthesis 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by