For Programmers: Free Programming Magazines  


Home > Archive > Matlab > April 2005 > Re: Pass environment variable to Matlab script fil









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Pass environment variable to Matlab script fil
Jay Yu

2005-04-25, 8:59 pm

I know I can use the following command

!getenv

in the Matlab .m script file, but how can I pass it to a variable
defined in the Matlab space. For example, I tried

A=!getenv;

obviously it didn't work.

Any suggestion?

Jay

cchgroupmail@gmail.com wrote:
>
>
> Why not use getenv?
>
>
> Ben Barrowes wrote:
variable.[color=darkred]
> You
> shellVar
like[color=darkred]
> one
> of
of my[color=darkred]
suggestion?[color=darkred]
>
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com