ssGetNumPWork326 (2/25/2010 9:09:05 AM) comp.soft-sys.matlab Greetings, I have a doubt concerning the command "ssGetNumPWork". According to the help files it is supposed to return the size of the pointer work vector. In the example below, for what I understand, it shoul... Bruno
xPC errors424 (2/18/2010 4:28:03 PM) comp.soft-sys.matlab Hi, I have been searching for the meaning of these three different(?) errors that I get in the target machine while using xPC target: 1 - "ERROR: CPU overloaded at time *****"; 2 - "ERROR: Sample time 1 - CP... Bruno
Allocate dynamic memory333 (2/18/2010 10:31:05 AM) comp.soft-sys.matlab Hi, I have been using a mex file in which there is the need to allocate some memory. Previously, I was using "malloc" to allocate the memory and then "free" at the end in order clear everything. Today I found... Bruno
xPC cpu overload #2321 (2/11/2010 4:04:04 PM) comp.soft-sys.matlab Greetings, I'm solving an optimization problem in real time recurring to xPc target. As I increase the number of optimization variables, every once in a while I get the error "CPU OVERLOAD" in the target compu... Bruno
Use the HEAP in XPC target025 (7/15/2009 12:34:02 PM) comp.soft-sys.matlab Hi, In my last post(14/07/2009) i asked for some help regarding the memory problems in XPC target. By the looks of it i got stack overflow which was solved by allocating space in the heap and saving my variabl... Bruno
Memory Problems, XPC026 (7/14/2009 8:33:04 AM) comp.soft-sys.matlab Hi, I have a simulink model that runs in real time with xpc target. Everything runs perfectly until my matrices reach a specific size. After that the simulation won't even run, i just get "TCP/IP connect error... Bruno
Win 32 exception227 (7/11/2009 10:44:03 AM) comp.soft-sys.matlab Hi, I have this simulink model that runs perfectly for some set of data but gives the error "unhandled win32 exception occurred in matlab.exe" in other sets of data. I thought it could be a memory problem sinc... Bruno
ssPrintf034 (6/26/2009 2:19:02 PM) comp.soft-sys.matlab Hi, I'm trying to use the command "ssPrintf" in my c-code but with no success. If it is commented everything runs perfectly in xpc-target, if it is not i just get error due to lost connection and the target sc... Bruno
Compiler warnings324 (6/23/2009 8:01:03 AM) comp.soft-sys.matlab Hi, When i build my simulink model to be used in XPC target i get several of this warnings: warning C4047: 'function' : 'double *' differs in levels of indirection from 'double [15][30]' , when it compiles a c-... Bruno
XPC target sampling period.015 (6/22/2009 3:31:02 PM) comp.soft-sys.matlab Greetings, I am using a c-code function in simulink through the block "s-function". This model is to be built in order to work in XPC target. In my c-code i have: "ssSetSampleTime(S, 0, INHERITED_SAMPLING_TIM... Bruno
brocaaugusto's replies:
Items(7) /1
MEX problems #2222 (6/16/2009 1:32:01 PM) comp.soft-sys.matlab Hi, I'm trying to mex a c file with Matlab 6.5.1. Untill now i have been unsucessfull because i always get the same error after applying the mex command :"can't create the output file (name of the file). Can't... brocaaugusto(23)
xpc target s-function423 (6/18/2009 3:24:01 PM) comp.soft-sys.matlab hi, I have a c-file that I use in simulink with the s-function block. Everything works perfectly in the normal simulink simulation but now i want to build it with xpc target. The first errors were related wit... brocaaugusto(23)
Compiler warnings324 (6/23/2009 8:01:03 AM) comp.soft-sys.matlab Hi, When i build my simulink model to be used in XPC target i get several of this warnings: warning C4047: 'function' : 'double *' differs in levels of indirection from 'double [15][30]' , when it compiles a c-... brocaaugusto(23)
xPC cpu overload #2321 (2/11/2010 4:04:04 PM) comp.soft-sys.matlab Greetings, I'm solving an optimization problem in real time recurring to xPc target. As I increase the number of optimization variables, every once in a while I get the error "CPU OVERLOAD" in the target compu... brocaaugusto(23)
Allocate dynamic memory333 (2/18/2010 10:31:05 AM) comp.soft-sys.matlab Hi, I have been using a mex file in which there is the need to allocate some memory. Previously, I was using "malloc" to allocate the memory and then "free" at the end in order clear everything. Today I found... brocaaugusto(23)
xPC errors424 (2/18/2010 4:28:03 PM) comp.soft-sys.matlab Hi, I have been searching for the meaning of these three different(?) errors that I get in the target machine while using xPC target: 1 - "ERROR: CPU overloaded at time *****"; 2 - "ERROR: Sample time 1 - CP... brocaaugusto(23)
ssGetNumPWork326 (2/25/2010 9:09:05 AM) comp.soft-sys.matlab Greetings, I have a doubt concerning the command "ssGetNumPWork". According to the help files it is supposed to return the size of the pointer work vector. In the example below, for what I understand, it shoul... brocaaugusto(23)