Skip to content

Instantly share code, notes, and snippets.

@JosmanPS
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JosmanPS/917589e5e51bd94230fc to your computer and use it in GitHub Desktop.
Save JosmanPS/917589e5e51bd94230fc to your computer and use it in GitHub Desktop.
Probar varios problemas en matlab desde shell
matlab_exec=matlab
for line in $(cat lista);
do
echo "LBFGS('$line', 200, 5, 1e-4);" >> runls.m;
done
${matlab_exec} -nojvm -nodisplay -nosplash -nodesktop < runls.m;
rm runls.m;
cat *.out >> resultados.txt
# more resultados.txt
@JosmanPS
Copy link
Author

update

@jonfen17
Copy link

Está genial tu código.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment