On way to use it, is to use .m file (matlab script file) to run the desired simulation. Prior running any script EIDORS requires to run its startup.m script to setup is variables.
Personnaly I start all my scripts with the commands:
close all; %closes all open graphs
clear all; %clears all workspace variable
Doing so arises an error message from EIDORS:
??? Error using ==> eidors_obj>test_install at 87The reason is that the "clear all:" command do also clears EIDORS variables. The solution is to replace
EIDORS not correctly started. Did you do ">>run /path/to/eidors/startup"
Error in ==> eidors_obj at 69
test_install
Error in ==> ng_mk_cyl_models at 89
fmdl = eidors_obj('get-cache', cache_obj, 'ng_mk_cyl_models' );
clear all;by
clear;
More problematic is often, that it clears break points, also :)
ReplyDeleteyes that is exactly what happens! The "clear all" commands also clears break points, but that is an annoying issue / feature linked to Matlab only.
Delete