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)'.

Answers (0)

Categories

Find more on Historical Contests in Help Center and File Exchange

Tags

Asked:

on 22 Apr 2019

Edited:

on 22 Apr 2019

Community Treasure Hunt

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

Start Hunting!