help > Error running script with MATLAB Runtime - "All inputs must be strings, character vectors, or cell arrays of character vectors"
Showing 1-2 of 2 posts
Aug 21, 2024 05:08 PM | Diogenes Bispo - University of Brasilia
Error running script with MATLAB Runtime - "All inputs must be strings, character vectors, or cell arrays of character vectors"
Hello everyone,
I'm facing an issue when trying to run a script using MATLAB Runtime (version R2024a) on macOS. Here's what happens:
I start MATLAB Runtime with the following command:
bash
./run_conn.sh /Applications/MATLAB/MATLAB_Runtime/R2024a
The initialization seems to proceed fine until I get a series of warnings and eventually an error. Here is part of the log:
vbnet
WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
WARNING: package sun.awt.X11 not in java.desktop
Warning: removing "/Applications/conn22v2407/conn.app/Contents/Resources/conn_mcr/Users/Shared/software/spm-main/external/fieldtrip/compat/matlablt2016b" from your path, see http://bit.ly/2SPPjUS
> In contains (line 32)
In fullfile>refinePath (line 106)
In fullfile (line 70)
In runtimeInitializationChecks (line 12)
Error using fullfile (line 73)
All inputs must be strings, character vectors, or cell arrays of character vectors.
The final error I'm receiving is:
sql
Error using fullfile (line 73)
All inputs must be strings, character vectors, or cell arrays of character vectors.
Has anyone encountered this issue before or knows how to resolve it?
Any help would be greatly appreciated!
Diógenes
Apr 14, 2025 08:04 PM | Daniel Simon - Linköping University
RE: Error running script with MATLAB Runtime - "All inputs must be strings, character vectors, or cell arrays of character vectors"
I'm having the exact same issue! I'd love to hear a solution.
I'm (trying to) run conn22v2407_maci64 with the arm64 Matlab R2024a runtime.