# Is it possible to use uqlink with a text editor?

**URL:** <https://uqworld.org/t/is-it-possible-to-use-uqlink-with-a-text-editor/1922>\
**Category:** Community Q&A and How To\
**Created:** [June 22, 2023, 2:10pm UTC](https://uqworld.org/t/is-it-possible-to-use-uqlink-with-a-text-editor/1922 "2023-06-22T14:10:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![IHM](https://uqworld.org/letter_avatar_proxy/v4/letter/i/fbc32d/32.png) [@IHM](https://uqworld.org/u/IHM)\
**Post date:** [June 22, 2023, 2:10pm UTC](https://uqworld.org/t/is-it-possible-to-use-uqlink-with-a-text-editor/1922/1 "2023-06-22T14:10:38Z")

</div>

I use software (Castem) which allows me to create a new executable to take into account the mechanical model that I have implemented. To use the new executable I go through a text editor which calls the command (castem21) to compile my calculation file and everything goes well. UQlink goes very well when I use the original executable (so without my model just with the existing models in Castem). But when I use the new executable the program runs endlessly and when I stop I have the error messages below. I emphasize that the two executables are called in the same command file (castem21) which calls the new executable if it is a new model and the old if not. Could you please help me?

\*emphasized text\*\*Operation terminated by user during dos (line 67)

In uq\_wrapper\_uqlink (line 433)  
dummy\_catch = evalc(‘status\_run = system(exeCmd\_with\_cd) ;’) ;

In uq\_eval\_uq\_uqlink (line 56)  
[varargout{1:num\_of\_out\_args}] = uq\_wrapper\_uqlink(X, current\_model.Internal);

In uq\_evalModel (line 121)  
[varargout{1:nargout}] = current\_model.eval(current\_model,varargin{:});

In test (line 112)  
[Y1,Y2,Y3,Y4] = uq\_evalModel(monModelCASTEM,X1);  
\*
