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 件のコメント

Walter Roberson
Walter Roberson 2020 年 3 月 8 日
One of the third party toolbox is defining its own version of a function that MATLAB relies on.
Tom Dadon
Tom Dadon 2020 年 3 月 8 日
Thanks Walter,
i found the causing file and it worked out.
Tiago Moraes
Tiago Moraes 2020 年 4 月 6 日
How?
ahcen aliouat
ahcen aliouat 2020 年 8 月 28 日
hello, could you tell us how you resolved this problem? thank you
Philipp Engels
Philipp Engels 2020 年 10 月 30 日
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
Philipp Engels
Philipp Engels 2020 年 10 月 30 日
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
Philipp Engels
Philipp Engels 2020 年 10 月 30 日
same error also with matlab version 2020a in several simulink functions...
Philipp Engels
Philipp Engels 2020 年 11 月 3 日
so also thanks walter
Walter Roberson
Walter Roberson 2020 年 11 月 3 日
Ah, thanks for the update!
Rakshit Kothari
Rakshit Kothari 2022 年 8 月 22 日
Thank you Philipp, this was the right solution!

サインインしてコメントする。

 採用された回答

Philipp Engels
Philipp Engels 2020 年 11 月 3 日
移動済み: Walter Roberson 2022 年 8 月 22 日

0 投票

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeConstruct and Work with Object Arrays についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by