check_var_exist.m File Reference

A wrapper function that checks if a variable has been assigned to a value in Mathematica. More...

Functions

function logical status = check_var_exist (char var)
 A wrapper function that checks if a variable has been assigned to a value in Mathematica. More...
 

Detailed Description

A wrapper function that checks if a variable has been assigned to a value in Mathematica.

Function Documentation

◆ check_var_exist()

function logical status = check_var_exist ( char  var)

A wrapper function that checks if a variable has been assigned to a value in Mathematica.

Author
ayonga
Date
2016-11-23
Author
Ayonga Hereid ayong.nosp@m.a27@.nosp@m.gmail.nosp@m..com

Copyright (c) 2016, AMBER Lab All right reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted only in compliance with the BSD 3-Clause license, see http://www.opensource.org/licenses/bsd-license.php

Parameters
vara string or a cell string of the symbolic variable name
Return values
statusreturns true if the variable exists and has been assigned a value, returns false otherwise.