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...
so also thanks walter
Ah, thanks for the update!
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 Exchange에서 Waveform Design and Signal Synthesis에 대해 자세히 알아보기

제품

질문:

2020년 3월 8일

이동:

2022년 8월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by