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

Antworten (0)

Kategorien

Mehr zu Historical Contests finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 22 Apr. 2019

Bearbeitet:

am 22 Apr. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by