Mimo-
> I have this assembly program that is tested in the
real hardware
> and running for the TMS320C6000 family and i want to
> tested and modified using matlab any idea if there is any block
> in simulink that accept assembly? or is there any
> other way to convert it to matlab function?
If Simulink gives you an "arbitrary C code block" or user-defined C code block
where you enter some C code or give a
filename, then you might be able to put your asm code there. The TI CCS tools
should recognize a *.a?? extension
(first letter of the extension is 'a') and send it to the assembler.
However, your assembly code would need to link
correctly with other Simulink-generated C code for the DSP target
application.
MathWorks should provide guidelines for something like "user-defined target
code". This would be a place start. In
the worst case, you might have to use a C code wrapper that calls your asm code.
Again, your asm code object file
would have to be in a place where Simulink can find it during the DSP code
linking process.
-Jeff