Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined function 'isstringlike' #7

Open
zarcow opened this issue Mar 26, 2024 · 2 comments
Open

Undefined function 'isstringlike' #7

zarcow opened this issue Mar 26, 2024 · 2 comments

Comments

@zarcow
Copy link

zarcow commented Mar 26, 2024

Thanks for the tool!
I noticed that every time I tried to save a plot as .SVG the following error appears:

Error using saveFigure>patchSvgFile
The value of 'replaceStrokeDashArray_dashed' is invalid. Undefined function 'isstringlike' for input arguments of type
'char'.
Error in saveFigure (line 365)
patchSvgFile(svgFile, widthStr, heightStr, 1, exportFontFamily, patchSvgArgs{:});

@djoshea
Copy link
Owner

djoshea commented Mar 27, 2024

Ah, oops. That’s this function here https://github.com/djoshea/matlab-utils/blob/master/string/isstringlike.m

I’ll push a fix soon but for now you can copy that function definition into the bottom of the saveFigure file.

Thanks!

@zarcow
Copy link
Author

zarcow commented Mar 27, 2024

That solved it. Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants