Prev: Deploy in 64 bit matlab
Next: Integration
From: Mohan Swaminathan on 17 May 2010 06:55 "Sebastian " <nowoisky(a)cs.tu-berlin.de> wrote in message <fa458e$hgq$1(a)fred.mathworks.com>... > Hi there, > > I got some problem with Matlab and dSPACE. > MATLAB R2007a > RTI Real-Time Interface to Simulink (RTI1006) 5.5 > > DSSIMULINK ControlDesk to Simulink Interface > 3.1.1 > DS_TALIB Test Automation Blockset 1.2.2 > > I have compiled a simple gain from Dymola. I include the > folder from dymola and the Simulink Application with a > sinus source wirks fine as offline Modell. > > In the _usr.mk File I set the folders for Dymola \Dymola\Source > The used *.c files are found, if the compiler start. > Additional Compiler Setting I set in the RealTimeWorkshop > Options. > I am not sure if the following Option is correct: > > RealTimeWorkshop -> Options -> RTI general build Options -> > Compiler Options: -DDYMOLA_DSPACE-DMatlabR2007a > > > Now I try to download this Modell to a dSPACE Box but I get > an Error. > > Error building Real-Time Workshop target for block diagram > 'Simulink_Test'. MATLAB error message: > Error using ==> RTW.genMakefileAndBuild at 937 > > Here are the last rows of the output from the comman window: > > > LINKING APPLICATION ... > ..\Simulink_Test.x86: In function `WriteMatrix': > C:/Programme/Dymola/Source/matutil.c:259: undefined > reference to `amatWrite' > ..\Simulink_Test.x86: In function `dymTableLocateFile': > C:/Programme/Dymola/Source/dymtable.c:2318: undefined > reference to `amatGetOpen' > C:/Programme/Dymola/Source/dymtable.c:2354: undefined > reference to `amatGetMatrix' > C:/Programme/Dymola/Source/dymtable.c:2369: undefined > reference to `amatGetClose' > C:/Programme/Dymola/Source/dymtable.c:2364: undefined > reference to `amatGetClose' > C:/Programme/Dymola/Source/dymtable.c:2330: undefined > reference to `amatGetClose' > ..\Simulink_Test.x86: In function `ReadMatrices': > C:/Programme/Dymola/Source/matutil.c:53: undefined reference > to `amatGetOpen' > C:/Programme/Dymola/Source/matutil.c:60: undefined reference > to `amatGetMatrix' > C:/Programme/Dymola/Source/matutil.c:76: undefined reference > to `amatGetClose' > C:/Programme/Dymola/Source/matutil.c:80: undefined reference > to `amatGetClose' > C:\x86Tools\BIN\x86-ld.exe -T > C:\dSPACE\DS1006\RTLib\extsym1006.lk -o NUL > ..\Simulink_Test.x86 > LINKING FAILED (2)(1) > > MAKE PROCESS ABORTED > > > Please can someone help me with a tutorial, or a tip in the > correct direction. > Thank you for your help > > To download just a Simulink Modell works fine, to compile a > Dymola Modell to Simulink as an s-function is okay. But to > download a modell, which contain a s-function I get the error. > > > Sebastian N. > Technische Universität of Berlin > > Hello Sebastian, I am facing a similar problem, Í will be glad if you could send me the solution for this problem. Thanks in advance. Regards Mohan
|
Pages: 1 Prev: Deploy in 64 bit matlab Next: Integration |