Compilation error "??? Error using ==> cd"

Problem

I want to compile a model but the compilation crashes at separation step with following error message :

"??? Error using ==> cd
Too many input arguments.

??? Error preparing original model for code separation."

 

How can I workaround this ? 

Answer

This error occurs when your model is located in path which contains spaces (typically the desktop : C:\Documents and Settings\username\Desktop). RT-LAB does not support yet path with spaces in it.

The workaround is to work in a "no spaces in the path" directory (ex: C:\My_Opal_Models).

Keywords : space, path, Space