I have seen the use of svg (scalable vector graphics) images in new Simulink blocks (for e.g. the Hydraulics fluid block in Simscape Fluids).
In 2013a release notes for Simulink, it states that svg support has been added to Simulink masks using the "image" command.
So in 2016b, I started with the svg file for the Hydraulics Fluid block and then opened it up in Inkscape (open source svg editor) and edited it and then saved it again. Now the mask display is not working properly. The preview appears correctly in the mask editor but not in the actual Simulink canvas.
I noticed in 2016b documentation on the "Draw Mask Icon" page that: "Images in formats .cur, .hdf4, .ico, .pcx, .ras, .xwd, .svg (full version) cannot be used as block mask images. However, you can use images in these formats if you wrap the file name in the imread() function and use the RGB triplet. Using the imread() function is not efficient. However, it is still supported for backward compatibility."
I am unable to use imread with the svg file either. Is there some kind of limitation with svg support, especially those generated from external tools (like Inkscape)?