Clear Filters
Clear Filters

Warning: the font "Times" is not available, so "Lucida Bright" has been substituted, but may have unexpected appearance or behavor. Re-enable the "Times" font to remove this

32 views (last 30 days)
Warning: the font "Times" is not available, so "Lucida Bright" has been substituted, but may have unexpected appearance or behavor. Re-enable the "Times" font to remove this warning.
Warning: the font "Times" is not available, so "Lucida Bright" has been substituted, but may have unexpected appearance or behavor. Re-enable the "Times" font to remove this warning.
Exception in thread "ContributedToolsLoader": java.lang.NoClassDefFoundError: Could not initialize class java.nio.file.FileSystems$DefaultFileSystemHolder
at java.nio.file.FileSystems.getDefault(FileSystems.java:176)
at java.io.File.toPath(File.java:2234)
at com.mathworks.resources_folder.ResourcesFolderUtils.getResourcesFolderName(ResourcesFolderUtils.java:31)
at com.mathworks.mde.desk.ContributedTools.constructToolSetFileName(ContributedTools.java:103)
at com.mathworks.mde.desk.ContributedTools.<init>(ContributedTools.java:65)
at com.mathworks.mde.desk.ContributedToolsLoader$3.run(ContributedToolsLoader.java:69)
at java.lang.Thread.run(Thread.java:748)
Exception in thread "Startup Class Loader": java.lang.NoClassDefFoundError: Could not initialize class com.mathworks.instutil.InstutilResourceKeys
at com.mathworks.mlwidgets.help.DocCenterRoot.initDocRelease(DocCenterRoot.java:44)
at com.mathworks.mlwidgets.help.DocCenterRoot.<clinit>(DocCenterRoot.java:26)
at com.mathworks.mlwidgets.help.HelpPrefs.<clinit>(HelpPrefs.java:57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.mathworks.mlservices.MLHelpServices.getDocRoot(MLHelpServices.java:522)
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.getDocrootDirectory(ProductInfoUtils.java:707)
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.getAbsolutePath(ProductInfoUtils.java:694)
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.parseFile(ProductInfoUtils.java:259)
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.parseFiles(ProductInfoUtils.java:319)
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.pathChanged(ProductInfoUtils.java:154)
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.<init>(ProductInfoUtils.java:80)
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.getAllProductsInfo(ProductInfoUtils.java:900)
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.<clinit>(ProductInfoUtils.java:66)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.mathworks.mde.desk.StartupClassLoader$LoadInfo.<init>(StartupClassLoader.java:112)
at com.mathworks.mde.desk.StartupClassLoader.createLoadInfos(StartupClassLoader.java:202)
at com.mathworks.mde.desk.StartupClassLoader.access$500(StartupClassLoader.java:25)
at com.mathworks.mde.desk.StartupClassLoader$2.run(StartupClassLoader.java:223)
at java.lang.Thread.run(Thread.java:748)
>>
  1 Comment
Muhammad Hassanain
Muhammad Hassanain on 19 Nov 2021
> In slCustomizer/callAllMethods
In slCustomizer/refresh
In slCustomizer.staticRefresh
In simulinkrc (line 51)
In start_simulink
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Warning: Error occurred when getting constructor with the specified signature.
Error in dig.isProductInstalled (line 30)
productInfo = com.mathworks.product.util.ProductIdentifier.get( productName );
Error in hdlcoderui/isslhdlcinstalled (line 11)
slhdlinstalled = dig.isProductInstalled( 'HDL Coder', 'Simulink_HDL_Coder' );
Error in slCustomizer/internalCustomizationHDLCoder
> In slCustomizer/callAllMethods
In slCustomizer/refresh
In slCustomizer.staticRefresh
In simulinkrc (line 51)
In start_simulink
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
ans =
'Error using slCustomizer.staticRefresh
STD exception 'mwboost::exception_detail::clone_impl<fl::filesystem::SystemError>': 'fl:filesystem:SystemError' was caught.'
Warning: an error occurred while parsing class hdlcoderui.hdlcc:
Error occurred when getting constructor with the specified signature.

Sign in to comment.

Answers (1)

Bharath Venkataraman
Bharath Venkataraman on 19 Nov 2021
What operation are you trying to eprform? Are you trying to generate HDL Code?
If yes, do you have HDL Coder installed and licensed?
  2 Comments
Muhammad Hassanain
Muhammad Hassanain on 19 Nov 2021
I am trying to run my simulink files, it was ok before couple of days but since last night i am facing the above mentioned error once i open the matlab 2020b in my macbook pro m1? i downloaded the font nowi don't know what should i do more with this java. and there is another error as you can above which i highlighted once i open simulink then it show me the above hightlighted error.
Furthermore when i click any block in simulink then it show me something like this ( Error evaluating 'OpenFcn' callback of Three-Phase Programmable Voltage Source block (mask) 'Simplll/Three-Phase Programmable Voltage Source'. Callback string is 'sps_rtmsupport('OpenFcn',gcbh, [2 3 9 12 16]); '
Invalid value returned.) and also i am not unable to see the above menu in simulink from i can run the model.
Thank you

Sign in to comment.

Categories

Find more on Simulink Functions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!