I have a "trilogi" simulation software file. Consider it as a file of random simulation software. I want to embed it in pdf document at the place of my choice so that if I click on it in pdf document,it opens. How should I do it? My simple working program is as given below
\documentclass[a4paper,14pt]{memoir}
\linespread{1.5}
\usepackage{graphicx}
\usepackage{color}
\usepackage{float}
\usepackage{caption}
\usepackage{graphicx}
\usepackage{subcaption}
\begin{document}
\pagestyle{plain}
\section*{\textcolor{red}{Introduction}}
Control engineering has evolved over time. In the past humans were the main method for controlling a system. More recently electricity has been used for control and control d
\end{document}

attachfilepackage, I have been using it for instance here: http://uweziegenhagen.de/?p=2488 (Check the definition of\filethere) – Uwe Ziegenhagen Nov 02 '14 at 11:28