Created
May 8, 2020 19:06
-
-
Save jdeweese1/25ab9e44ddd1c5fdb69de8ced06c5298 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
expected_vars = ["AdjMatrix", "RowSums", "LaplaceGraph", "V", "D", "V2", "pos", "neg", "Social", "DiagSocial", "LaplaceSocial", "order", "P", "SocialOrdered"]; | |
all_defined =1; | |
for i = 1:length(expected_vars) | |
test_var = expected_vars(i); | |
if exist(test_var) == 0 | |
all_defined = 0; | |
fprintf("%s is not defined\n", test_var); | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment