/
concept-collection
/
seqlab
Jump to
/
Appearance
Match my system
Paper
GitHub
Slate
Midnight
Terminal
Sign in
concept-collection
/
seqlab
Code
Commits
Issues
0
Pull requests
0
Actions
Branches
1
Tags
0
Site
main
Branches
main
seqlab
/
src
/
engine
/
pulseq
/
+mr
/
+aux
/
containers_map_lookup_ex.m
10 lines · 259 B
Copy
Copied
Blame
History
Raw
1
function
out
= containers_map_lookup_ex(map,key,fallback)
2
%CONTAINERS_MAP_LOOKUP
this
function simulates the missing
3
%containers.Map.lookup() function using try-catch clause
4
try
5
out
=map(key);
6
catch
7
out
=fallback;
8
end
9
end
10
↑
↓
move
↵
open
esc
close