how to solve the problem?

function raw2jpeg(lfp_file)
cd('lfptools')
sys_command = ['./lfpsplitter ../' lfp_file]
system(sys_command,'-echo')
cd('..')
[lfp_folder, lfp_path , ~] = fileparts(lfp_file)
lfp_path = [lfp_folder '/' lfp_path]
fin = fopen(strcat(lfp_path, '_imageRef0.raw'), 'r')
meta = fopen(strcat(lfp_path, '_metadataRef0.txt'), 'r')
The below is the result.
The function or variable 'lfp_file' is not defined.
The reference of it says 'Input : file_path (file path to the .lfp file)'.

回答(0 个)

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by