Pourquoi j'ai l'erreur : unable to find part 'simulink/​maskimages​/subsystem​name.svg' : Could not successfully parse URI string.

3 次查看(过去 30 天)
Bonjour
En ouvrant un modèle simulink sur MATLAB j'ai l'erreur suivante qui apparait :
unable to find part 'simulink/maskimages/subsystemname.svg' : Could not successfully parse URI string.
Dans le modèle j'ai effectivement créer des masques pour certains subsystem mais cela n'avait pas créé de soucis jusque là.
Est-ce que quelqu'un pourrait m'aider ?
Merci d'avance

回答(1 个)

Ramtej
Ramtej 2023-11-27
Hi Quentin Goulas,
Comme je ne suis pas natif français, je réponds à la question en anglais. Désolé pour le dérangement
As per my understanding you are trying to create an icon for a subsystem in your Simulink model.
The error "unable to find part 'simulink/maskimages/subsystemname.svg' : Could not successfully parse URI string" indicates that there was an issue parsing or interpreting the provided URI string. This could be due to various reasons such as an incorrect path, a missing resource, or a syntax error within the URI string that is the path to image in your case.
To resolve the error, make sure to provide a valid path to the image and check if the image is present in the correct folder.
Hope this resolves you query!!
  1 个评论
Quentin Goulas
Quentin Goulas 2023-11-27
Hi Ramtej,
I looked for the path 'simulink/maskimages/subsystemname.svg' in the current folder and also in my computer but I didn't find it. It still didn't worked when I tried to recreate the path in the current folder of my model.
I think that my problem is that I wasn't looking at the right folder or maybe it was deleted so in which folder the path 'simulink/maskimages/subsystemname.svg' should be ?

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!