"fl:filesy​stem:Inval​idArgument​" Error

I am trying to run Matlab and Simulink 2014a on my Windows XP (SP3) machine. Matlab seems to run fine, and when I build a simple model in simulink it sims fine, but when I use the command sim('modelnamehere'); to run my complicated model, written in 2014a on a newer version of Windows, I get the following error:
Caught "std::exception" Exception message is: fl:filesystem:InvalidArgument

 Accepted Answer

Lior Liraz
Lior Liraz on 27 Aug 2018
Edited: Lior Liraz on 28 Aug 2018
Hi. I had the same problem and I solved it. In my case, I had a stand-alone application (EXE file) to distribute to several target computers. In some of the target computers, when I ran the EXE, I received the "fl:filesystem:InvalidArgument" error.
Eventually, I found the problem: If the EXE was located in a path that included Hebrew characters (I'm from Israel) it gave the error.
To solve it, I simply renamed all folders in the path to Latin characters and it worked like magic :) Hope this helps...

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Asked:

on 9 Nov 2014

Edited:

on 28 Aug 2018

Community Treasure Hunt

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

Start Hunting!