Matrix.MBS
----------

Calls a MBS function with parameters from the matrix.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Matrix](component_Matrix.md) | [16.2](newinversion162.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Matrix.MBS"; MatrixRef; FunctionName ) 

**MBS**( **"Matrix.MBS";** /\* Calls a MBS function with parameters from the matrix. \*/  
**$MatrixRef**; /\* The matrix reference number.e.g. $matrix \*/   
**$FunctionName**) /\* The name of the function to call.e.g. "Text.Concat" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| MatrixRef | The matrix reference number. | $matrix |
| FunctionName | The name of the function to call. | "Text.Concat" |

### Result

Returns result or error.

### Description

Calls a MBS function with parameters from the matrix.  
We loop over all rows and columns to collect values for parameter list.  
Empty cells are ignored.  
We pass through the result back to you.  
### Examples

Try it:

 let(\[   
 m = MBS ("[Matrix.New](MatrixNew.md)"; 3; 1);  
 s = MBS ("[Matrix.SetValue](MatrixSetValue.md)"; m; 0; 0; "Hello");  
 s = MBS ("[Matrix.SetValue](MatrixSetValue.md)"; m; 1; 0; " ");  
 s = MBS ("[Matrix.SetValue](MatrixSetValue.md)"; m; 2; 0; "World");  
 r = MBS ("Matrix.MBS "; m; "[Text.Concat](TextConcat.md)");  
 m = MBS ("[Matrix.Release](MatrixRelease.md)"; m)  
\]; r)  
Call [Text.Concat](TextConcat.md) dynamically:

 Let(  
 \[  
 m = MBS ( "[Matrix.New](MatrixNew.md)" ; 4 ; 1 ) ;  
 s = MBS ( "[Matrix.SetValue](MatrixSetValue.md)" ; m ; 0 ; 0 ; "FileMaker" ) ;  
  
 // Row 1 left empty   
 s = MBS ( "[Matrix.SetValue](MatrixSetValue.md)" ; m ; 2 ; 0 ; " Plugin" ) ;  
 s = MBS ( "[Matrix.SetValue](MatrixSetValue.md)" ; m ; 3 ; 0 ; " Rocks!" ) ;  
 r = MBS ( "Matrix.MBS " ; m ; "[Text.Concat](TextConcat.md)" ) ;  
 m = MBS ( "[Matrix.Release](MatrixRelease.md)" ; m )  
 \] ;  
 r  
)  
<small>  
Example result: FileMaker Plugin Rocks!</small>### See also

- [Matrix.Max](MatrixMax.md)
- [Matrix.Min](MatrixMin.md)
- [Matrix.New](MatrixNew.md)
- [Matrix.Release](MatrixRelease.md)
- [Matrix.SetValue](MatrixSetValue.md)
- [Text.Concat](TextConcat.md)

### Release notes

- **Version 16.2**
    - Added [Matrix.MBS](https://www.mbsplugins.eu/MatrixMBS.shtml) function to call a MBS function with taking parameters from the matrix.

### Blog Entries

- [MBS FileMaker Plugin 16.2 News](https://www.mbsplugins.de/archive/2026-05-20/MBS_FileMaker_Plugin_162_News/monkeybreadsoftware_blog_filemaker)
- [Introducing Matrix.MBS: Dynamic Function Calls with Matrix Parameters](https://www.mbsplugins.de/archive/2026-05-08/Introducing_MatrixMBS_Dynamic_/monkeybreadsoftware_blog_filemaker)
- [Neues MBS Plugin 16.2 für Claris FileMaker](https://www.mbsplugins.de/archive/2026-05-05/Neues_MBS_Plugin_162_für_Clar/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin 16.2 for Claris FileMaker](https://www.mbsplugins.de/archive/2026-05-05/MBS_Plugin_162_for_Claris_File/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 16.2pr1](https://www.mbsplugins.de/archive/2026-04-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th March 2026 , last changed 4th May 2026

  
[Matrix.Lookup](MatrixLookup.md) - [Matrix.Max](MatrixMax.md)

[HTML Version](MatrixMBS.shtml)