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

2 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

Ramtej
Ramtej il 27 Nov 2023
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 Commento
Quentin Goulas
Quentin Goulas il 27 Nov 2023
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 ?

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!