Most of my experience has been in MATLAB in alg development and system simulation and as such I have limited experience in handling types and memory (which MATLAB looks after for me)
I'm now in the process of programming networked wireless microcontrollers which will feed data into MATLAB (this part works).
I do need to run write come c to run on the microcontrollers and after going back to my c books im still not sure of the best approach.
eg if neighbours = 1600, neighbours = 1601 and count = 2Code:int Neighbours; int count; -- function runs which writes integers into the first "count" positions on Neighbours array. So now I have Neighbours with its first "count" postions filled and count advising me of how many positions were filled. I know the elements of Neighbours will be able to be represented by 4 digit decimal numbers. -- I then want to place the 4 digit numbers in each position of Neighbours to a string seperated by comma.
i need a string "1600,1601"
Tips, ideas, directions to appropriate functions most appreciated!