Hi,everyone.I would like to ask a question about using the int i as output name , I hope someone could help me . such as for i=1:30; I have a function I would like to put 30 different input using for loop . just like input (i)=xxx ->my program->output (i)=xxxx I would like to have 30 input(some audio files 1.wav 2.wav 3.wav …………) and 30 output , output 1 output 2 output 3……, I have tried output(int i) that's not works , also int2str(i) not working too. could anyone tell me how to do that , thanks a lot .
MATLAB: Using the int i as output name
dynamic variable namesevalfor loop
Related Question
- Summing up rows of a cell containing 3D matrices
- Unfold cell
- Hi, i have cell that consisting string value.i want to use every cell element as variable name. for example filename{1}= [1 2 3] then i have EX1=[1 2 3] in work space. i wrote this code but it doesn’t work.
- Help on string in .m file
- Saving a new table for every loop iteration
- How to get 3D matrix when using int2string for two variables
Best Answer