I have 100 files, for example c1.mat
, c2.mat
, ..., c100.mat
I want to loop through each file to run a simulation within a software, taking one file at a time.
How do I write a batch script for the same?
@echo off
title conductivity changes
start fem.srn -e c1.mat
This script opens the program. But does not take the file c1.mat
as a variable.