What do you want to save?
Add Code snippet
New code examples in category Matlab
-
Bernd Elkemann 2021-09-29 20:51:03
matlab read audio
function play(speed, volume) % PLAY plays an audio file % % The first optional argument is speed % 1 is normal speed, 0.5 is half speed, 2 is double speed % % The second argument is volume % 1 is normal volume, 0.5 is half volume, 2 is double volume % ... Add solution -
-
Gnat 2021-09-25 03:50:04
save mat file script in matlab directory
%get the directory of your input files: pathname = fileparts('/input/file'); %use that when you save matfile = fullfile(pathname, 'output.mat'); figfile = fullfile(pathname, 'output.fig'); save(matfile, ...'); saveas(figfile, ...'); Add solution
Best helpers
Tushar Diwan
+5
Pinakin
+5
I-love-php
+5
Zelite
+5
Naman
+5
Sinow
+5
Saforrest
+5
Mastersulm
+5
Adam Clowes
+5
RiCo
+5
Any Mouse
+5
Richard D
+5