Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.543.822 Times

Pause MATLAB when running external simulation that writes to file 1.0

  Date Added: July 25, 2013  |  Visits: 203

Pause MATLAB when running external simulation that writes to file

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 downloads)



This simple code handles the problem where MATLAB interfaces with an external program that itself writes to a data file. The 3-line use of this code is as follows:(1) call external code (usually via system command)(2) call sim_runtime(...)(3) call subsequent statementsThe subsequent statements will not be executed until the external program has finished writing to the external file of interest.The algorithm is simple: MATLAB is stuck in an infinite while loop that checks to see whether the end of file character has changed in the file the external code is writing to. This requires some user knowledge of the external program: both the time taken to open the external file for writing and a rough estimate of the time taken between subsequent writes to that file.The subsequent statements following sim_runtime(...) in the main MATLAB code can be used to post-process the recently written file, a different file, or do anything else.

Requirements: No special requirements
Platforms: Matlab
Keyword: Algorithm Changed Character Checks Infinite Knowledge Requires Stuck
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


PAUSE MATLAB WHEN RUNNING EXTERNAL SIMULATION THAT WRITES TO FILE RELATED
Modules  -  Simplecluetip 6.x-1.0
Thanks to "Dave Cohen" hovertip module for giving me an idea of same features with cluetip jquery . This module requires a basic knowledge of Jquery however you can use the examples on module settings page or at cluetip demo site.The SimpleCluetip...
20.48 KB  
Utilities  -  CocoaDialog 2.1.1
CocoaDialog is an OS X application that allows the use of common GUI controls such as file selectors, text input, progress bars, yes/no confirmations and more with a command-line application. It requires no knowledge of Cocoa, and is ideal for use...
317.44 KB  
Utilities  -  CocoaDialog for Linux 2.1.1
CocoaDialog is an OS X application that allows the use of common GUI controls such as file selectors, text input, progress bars, yes/no confirmations and more with a command-line application. It requires no knowledge of Cocoa, and is ideal for use...
307.2 KB  
Audio Tools  -  LiMP-Linux Multimedia Player LIVE Distro 2.5
Linux Multimedia Player,is an yet another tiny Linux based LIVE cd and windows integrate Distro. It auto detects Sound,Video,Network,USB storage devices Features network support. It is GUI-menu driven and requires no knowledge of linux.File Size...
81.7 MB  
Games  -  Seven Kingdoms: Ancient Adversaries 2.14.3
We???*a*?ve reached our milestone for version 2.13 for Seven Kingdoms: Ancient Adversaries. Nothing notable has changed in this version that requires download by clients, this was an internal version to work away from windows specific code and...
1.12 MB  
Networking  -  JuLiA Beta 0.9
JuLiA stands for Just a Linguistic Algorithm. This plugin checks your comments against the JuLiA web service, which supplies an abusiveness score for each comment. Based on this score, comments are auto-published, auto-deleted, or marked for...
10 KB  
Graphic Conversion Tools  -  Sierpinski Fractal 1.1
The Sierpinski fractal (the triangle of triangles) can be constructed by repeatedly choosing a random midpoint between a current point and one of the three pre-set points. At each iteration the newly chosen midpoint becomes the new current point....
7 KB  
File Security  -  Keynesis Lockngo Professional 3.10
Lockngo Professional encrypts and password protects flash drives, portable drives, removable disks and external disks, using 256-bit AES military specification unbreakable encryption with a wiping mechanism that writes random data on deleted files...
311 KB  
Libraries  -  openModeller 0.4.2
openModeller library is a spatial distribution modelling library, providing a uniform method for modelling distribution patterns using a variety of modelling algorithms. openModeller can be used via programatic interfaces, including SOAP and...
 
Programming  -  Sarien 0.7.0
Sarien project is a Sierra AGI interpreter for games like Kings Quest and Space Quest. Sarien is a portable Sierra AGI resource interpreter engine that allows you to play Sierra On-Line AGI version 2 and version 3 games (such as Space Quest 1...
27.65 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]...
768 KB  
Development Tools  -  IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without...
51.2 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB  
Development Tools  -  Barnardextest 1.0
This file, as the Fisher's exact test, performs the exact probability test for a table of frequency data cross-classified according to two categorical variables, each of which has two levels or subcategories (2x2). It is a non-parametric...
10 KB