how to solve the problem?

2 views (last 30 days)
Huadong Hu
Huadong Hu on 22 Apr 2019
Edited: Huadong Hu on 22 Apr 2019
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

Community Treasure Hunt

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

Start Hunting!