Can I Convert an M-file script written in The MathWorks, Inc. MATLAB® language syntax into a HiQ Script?Primary Software: Other NI Software>>HiQPrimary Software Version: 4.5 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: Can I convert an M-file script written in The MathWorks, Inc. MATLAB® language syntax into a HiQ script? Solution: Yes, you do this using the Import Wizard. 1. Access the Import Wizard by selecting Notebook»Import Wizard 2. In the Import From section of the Import Wizard, select the File 3. If the Preview window is displaying the M-file you want to translate, 4. Click the Next button again to view the Translation Output Options 5. Select the translation options that you want. The following list explains • Header Comments— Inserts a header comment at the beginning of the translated file. • Symbol Table— Includes a list of all symbols used in the translation. Use this option to verify the type descriptions of the translated objects and functions. • General Comments— Includes explanations and general comments about the details of the translation. • Interleave M-file as Comments— Interleaves each line of the original M-file with the corresponding translated line in HiQ-Script. Use this option to compare M-file script code with the automatically generated HiQ-Script code. • Translation Footnotes— Appends additional translation footnotes to the end of the translation file. Use this option to obtain additional details about any limitations of the current translation. 6. Press Finish to complete the translation.
1. To translate a new M-file, place a new view of a new script object on 2. Right click on the view and select File»Import MATLAB M-file. 3. Select the M-file you want to import. After you select the file, the
Report Date: 12/22/2000 Last Updated: 11/12/2005 Document ID: 24LCJNPQ |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
