Error using ==> sf Error using ==> construct_error at 109

I have implemented a controller in Simulink that I need to compile to C code to include in my C++ simulations. However whenever i go compile it i get the following error:
Error using ==> sf
Error using ==> construct_error at 109
Failed to create file: C:\Users\Sanchito\Documents\MATLAB\TUM\SeitenBewegung_L1_augmentation\Matlab for Lateral and longitudinal scheduling_UNMATCHED\Matlab for Lateral and longitudinal scheduling_UNMATCHED\slprj\_sfprj\L1_Augmentation_LTV_AmB1B2_xhat_V1\_self\sfun\src\c1_L1_Augmentation_LTV_AmB1B2_xhat_V1.h.
I am using Matlab 2009b to compile this code. Any help would be appreciated. I have tried running Matlab as an administrator but it didnt work.
thanks and regards Sanchito

2 Commenti

Does the file already exist? DOes the directory exist? Is it writable ?
Sorry i forgot to mention, I did it with the directory being there and the directory non existing. For both the cases it gave me the same error.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Simulink in Centro assistenza e File Exchange

Prodotti

Richiesto:

il 19 Mar 2014

Commentato:

il 19 Mar 2014

Community Treasure Hunt

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

Start Hunting!

Translated by