Changes between Version 4 and Version 5 of MATLAB API

Show
Ignore:
Timestamp:
11/15/13 15:36:07 (11 years ago)
Author:
mmamonski
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MATLAB API

    v4 v5  
    3535* MUSCLE_BOOLEAN 
    3636== Example == 
     37{{{ 
     38 
     39muscleInit() 
     40 
     41fprintf('Kernel Name = %s\n', muscleKernelName()) 
     42 
     43fprintf('has property "script"? = %d \n', muscleHasProperty('script')) 
     44fprintf('Property[script] = %s \n', muscleGetProperty('script')) 
     45fprintf('has property "not_existing"? = %d \n', muscleHasProperty('not_existing')) 
     46 
     47dataA = [ 0.0, 1.0, 2.0, 3.0, 4.0 ] 
     48 
     49muscleWillStop() 
     50 
     51while not( muscleWillStop() ) 
     52        muscleSend('data', dataA) 
     53end 
     54 
     55muscleFinalize() 
     56}}} 
     57 
    3758{{{ 
    3859Running both MUSCLE2 Simulation Manager and the Simulation