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

1 次查看(过去 30 天)
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 个评论
Walter Roberson
Walter Roberson 2014-3-19
Does the file already exist? DOes the directory exist? Is it writable ?
Sanchito
Sanchito 2014-3-19
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Complex Logic 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by