Error using ==> sf Error using ==> construct_error at 109
2 views (last 30 days)
Show older comments
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 Comments
Walter Roberson
on 19 Mar 2014
Does the file already exist? DOes the directory exist? Is it writable ?
Answers (0)
See Also
Categories
Find more on Complex Logic in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!